Apache Solr open-source search software
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.
Steve Rowe379ccd46c42f
diff --git a/lucene/common-build.xml b/lucene/common-build.xmlindex 50a758b32f8..c0965af5aa5 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>