mirror of https://github.com/apache/lucene.git
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:
parent
ab793e7ab5
commit
379ccd46c4
|
@ -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>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue