lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject svn commit: r1296633 - /lucene/dev/trunk/lucene/common-build.xml
Date Sat, 03 Mar 2012 15:10:33 GMT
Author: sarowe
Date: Sat Mar  3 15:10:33 2012
New Revision: 1296633

URL: http://svn.apache.org/viewvc?rev=1296633&view=rev
Log:
LUCENE-3825: generate-maven-artifacts: when deploying, pull remote server authentication from
~/.m2/settings.xml instead of through system properties

Modified:
    lucene/dev/trunk/lucene/common-build.xml

Modified: lucene/dev/trunk/lucene/common-build.xml
URL: http://svn.apache.org/viewvc/lucene/dev/trunk/lucene/common-build.xml?rev=1296633&r1=1296632&r2=1296633&view=diff
==============================================================================
--- lucene/dev/trunk/lucene/common-build.xml (original)
+++ lucene/dev/trunk/lucene/common-build.xml Sat Mar  3 15:10:33 2012
@@ -354,9 +354,7 @@
       <artifact:pom id="maven.project" file="@{pom.xml}"/>
       <artifact:deploy file="@{jar.file}">
         <artifact-attachments/>
-      	<remoteRepository url="${m2.repository.url}">
-          <authentication username="${m2.repository.username}" privateKey="${m2.repository.private.key}"
password="${m2.repository.password}"/>
-        </remoteRepository>
+      	<remoteRepository id="${m2.repository.id}" url="${m2.repository.url}"/>
         <pom refid="maven.project"/>
       </artifact:deploy>
     </sequential>
@@ -374,9 +372,7 @@
       <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-7"/>
       <artifact:pom id="maven.project" file="${maven.build.dir}/pom.xml" />
       <artifact:deploy file="@{jar.file}">
-        <remoteRepository url="${m2.repository.url}">
-          <authentication username="${m2.repository.username}" privateKey="${m2.repository.private.key}"
password="${m2.repository.password}"/>
-        </remoteRepository>
+        <remoteRepository id="${m2.repository.id}" url="${m2.repository.url}"/>
         <pom refid="maven.project"/>
       </artifact:deploy>
     </sequential>



Mime
View raw message