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.

This commit is contained in:
Steve Rowe 2017-08-21 16:01:29 -04:00
parent ab793e7ab5
commit 379ccd46c4
1 changed files with 4 additions and 4 deletions

View File

@ -559,10 +559,6 @@
<artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-7"/> <artifact:install-provider artifactId="wagon-ssh" version="1.0-beta-7"/>
<parent-poms/> <parent-poms/>
<artifact:pom id="maven.project" file="@{pom.xml}"/> <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:deploy file="@{jar.file}">
<artifact-attachments/> <artifact-attachments/>
<remoteRepository id="${m2.repository.id}" url="${m2.repository.url}"> <remoteRepository id="${m2.repository.id}" url="${m2.repository.url}">
@ -570,6 +566,10 @@
</remoteRepository> </remoteRepository>
<pom refid="maven.project"/> <pom refid="maven.project"/>
</artifact:deploy> </artifact:deploy>
<artifact:install file="@{jar.file}">
<artifact-attachments/>
<pom refid="maven.project"/>
</artifact:install>
</sequential> </sequential>
</macrodef> </macrodef>