You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2017/08/21 20:02:14 UTC

[2/2] lucene-solr:branch_7x: SOLR-11181: Switch order of maven artifact publishing procedure: deploy first instead of locally installing first, to workaround a double repository push of *-sources.jar and *-javadoc.jar files.

SOLR-11181: Switch order of maven artifact publishing procedure: deploy first instead of locally installing first, to workaround a double repository push of *-sources.jar and *-javadoc.jar files.


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/b0bdb25d
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/b0bdb25d
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/b0bdb25d

Branch: refs/heads/branch_7x
Commit: b0bdb25d7522625fc829843e51e6313a8632925a
Parents: 337a27b
Author: Steve Rowe <sa...@apache.org>
Authored: Mon Aug 21 16:01:29 2017 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Mon Aug 21 16:01:52 2017 -0400

----------------------------------------------------------------------
 lucene/common-build.xml | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/b0bdb25d/lucene/common-build.xml
----------------------------------------------------------------------
diff --git a/lucene/common-build.xml b/lucene/common-build.xml
index 50a758b..c0965af 100644
--- a/lucene/common-build.xml
+++ b/lucene/common-build.xml
@@ -559,10 +559,6 @@
       <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-7"/>
       <parent-poms/>
       <artifact:pom id="maven.project" file="@{pom.xml}"/>
-      <artifact:install file="@{jar.file}">
-        <artifact-attachments/>
-        <pom refid="maven.project"/>
-      </artifact:install>
       <artifact:deploy file="@{jar.file}">
         <artifact-attachments/>
         <remoteRepository id="${m2.repository.id}" url="${m2.repository.url}">
@@ -570,6 +566,10 @@
         </remoteRepository>
         <pom refid="maven.project"/>
       </artifact:deploy>
+      <artifact:install file="@{jar.file}">
+        <artifact-attachments/>
+        <pom refid="maven.project"/>
+      </artifact:install>
     </sequential>
   </macrodef>