@@ -64,7 +64,7 @@ srcdist: distclean
64
64
(cd build; zip -q -r $(SRC_ARCHIVE).zip $(SRC_ARCHIVE))
65
65
(cd build; rm -rf $(SRC_ARCHIVE))
66
66
67
- stage-maven-bundle : maven-bundle
67
+ stage-and-promote- maven-bundle : maven-bundle
68
68
( \
69
69
cd build/bundle; \
70
70
NEXUS_USERNAME=` cat $( GNUPG_PATH) /../nexus/username` ; \
@@ -79,9 +79,11 @@ stage-maven-bundle: maven-bundle
79
79
amqp-client-$(VERSION ) -javadoc.jar \
80
80
amqp-client-$(VERSION ) -sources.jar && \
81
81
mvn org.sonatype.plugins:nexus-maven-plugin:$(MAVEN_NEXUS_VERSION ) :staging-close \
82
+ org.sonatype.plugins:nexus-maven-plugin:$(MAVEN_NEXUS_VERSION ) :staging-promote \
82
83
-Dnexus.url=http://oss.sonatype.org \
83
84
-Dnexus.username=$$ NEXUS_USERNAME \
84
85
-Dnexus.password=$$ NEXUS_PASSWORD \
86
+ -Dnexus.promote.autoSelectOverride=true \
85
87
-B \
86
88
-Dnexus.description=" Public release of $$ VERSION" \
87
89
)
@@ -90,11 +92,9 @@ promote-maven-bundle:
90
92
( \
91
93
NEXUS_USERNAME=` cat $( GNUPG_PATH) /../nexus/username` ; \
92
94
NEXUS_PASSWORD=` cat $( GNUPG_PATH) /../nexus/password` ; \
93
- mvn org.sonatype.plugins:nexus-maven-plugin:$(MAVEN_NEXUS_VERSION ) :staging-promote \
94
95
-Dnexus.url=http://oss.sonatype.org \
95
96
-Dnexus.username=$$ NEXUS_USERNAME \
96
97
-Dnexus.password=$$ NEXUS_PASSWORD \
97
- -Dnexus.promote.autoSelectOverride=true \
98
98
-DtargetRepositoryId=releases \
99
99
-B \
100
100
)
0 commit comments