@@ -64,7 +64,7 @@ srcdist: distclean
6464 (cd build; zip -q -r $(SRC_ARCHIVE).zip $(SRC_ARCHIVE))
6565 (cd build; rm -rf $(SRC_ARCHIVE))
6666
67- stage-maven-bundle : maven-bundle
67+ stage-and-promote- maven-bundle : maven-bundle
6868 ( \
6969 cd build/bundle; \
7070 NEXUS_USERNAME=` cat $( GNUPG_PATH) /../nexus/username` ; \
@@ -79,9 +79,11 @@ stage-maven-bundle: maven-bundle
7979 amqp-client-$(VERSION ) -javadoc.jar \
8080 amqp-client-$(VERSION ) -sources.jar && \
8181 mvn org.sonatype.plugins:nexus-maven-plugin:$(MAVEN_NEXUS_VERSION ) :staging-close \
82+ org.sonatype.plugins:nexus-maven-plugin:$(MAVEN_NEXUS_VERSION ) :staging-promote \
8283 -Dnexus.url=http://oss.sonatype.org \
8384 -Dnexus.username=$$ NEXUS_USERNAME \
8485 -Dnexus.password=$$ NEXUS_PASSWORD \
86+ -Dnexus.promote.autoSelectOverride=true \
8587 -B \
8688 -Dnexus.description=" Public release of $$ VERSION" \
8789 )
@@ -90,11 +92,9 @@ promote-maven-bundle:
9092 ( \
9193 NEXUS_USERNAME=` cat $( GNUPG_PATH) /../nexus/username` ; \
9294 NEXUS_PASSWORD=` cat $( GNUPG_PATH) /../nexus/password` ; \
93- mvn org.sonatype.plugins:nexus-maven-plugin:$(MAVEN_NEXUS_VERSION ) :staging-promote \
9495 -Dnexus.url=http://oss.sonatype.org \
9596 -Dnexus.username=$$ NEXUS_USERNAME \
9697 -Dnexus.password=$$ NEXUS_PASSWORD \
97- -Dnexus.promote.autoSelectOverride=true \
9898 -DtargetRepositoryId=releases \
9999 -B \
100100 )
0 commit comments