Apache Lucene open-source search software
LUCENE-935: Allow to deploy maven artifacts to a remote m2 repository via scp and ssh authentication.
Michael Busch11a7bf835b64
diff --git a/CHANGES.txt b/CHANGES.txtindex 786ce0c1187..35fcd967092 100644--- a/CHANGES.txt+++ b/CHANGES.txt@@ -323,6 +323,9 @@ Build6. LUCENE-1055: Remove gdata-server from build files and its sourcesfrom trunk. (Michael Busch)+ 7. LUCENE-935: Allow to deploy maven artifacts to a remote m2 repository+ via scp and ssh authentication. (Michael Busch)+Test Cases======================= Release 2.2.0 2007-06-19 =======================diff --git a/common-build.xml b/common-build.xmlindex 15dfe75df39..5dc09b07d64 100644--- a/common-build.xml+++ b/common-build.xml@@ -66,6 +66,7 @@<property name="dist.dir" location="dist"/><property name="maven.dist.dir" location="dist/maven"/><property name="m2.repository.url" value="file://${maven.dist.dir}"/>+ <property name="m2.repository.private.key" value="${user.home}/.ssh/id_dsa"/><property name="javacc.home" location="${common.dir}"/><property name="jflex.home" location="${common.dir}"/>@@ -248,11 +249,14 @@<filter token="version" value="${version}"/></filterset></copy>+ <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-2"/><artifact:pom id="maven.project" file="${build.dir}/@{pom.xml}" /><artifact:deploy file="${build.dir}/${maven.project.build.finalName}.jar"><artifact-attachments/>- <remoteRepository url="${m2.repository.url}"/>+ <remoteRepository url="${m2.repository.url}">+ <authentication username="${m2.repository.username}" privateKey="${m2.repository.private.key}"/>+ </remoteRepository><pom refid="maven.project"/></artifact:deploy></sequential>@@ -533,3 +537,4 @@+