File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ GNUPG_PATH=~
77
88WEB_URL =http://www.rabbitmq.com/
99NEXUS_STAGE_URL =http://oss.sonatype.org/service/local/staging/deploy/maven2
10+ MAVEN_NEXUS_VERSION =1.7
1011
1112AMQP_CODEGEN_DIR =$(shell fgrep sibling.codegen.dir build.properties | sed -e 's:sibling\.codegen\.dir=::')
1213
@@ -77,12 +78,13 @@ stage-and-promote-maven-bundle: maven-bundle
7778 amqp-client-$(VERSION ) .jar \
7879 amqp-client-$(VERSION ) -javadoc.jar \
7980 amqp-client-$(VERSION ) -sources.jar && \
80- mvn org.sonatype.plugins:nexus-maven-plugin:staging-close \
81- org.sonatype.plugins:nexus-maven-plugin:staging-promote \
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 \
8283 -Dnexus.url=http://oss.sonatype.org \
8384 -Dnexus.username=$$ NEXUS_USERNAME \
8485 -Dnexus.password=$$ NEXUS_PASSWORD \
8586 -Dnexus.promote.autoSelectOverride=true \
87+ -DtargetRepositoryId=releases \
8688 -B \
8789 -Dnexus.description=" Public release of $$ VERSION" \
8890 )
You can’t perform that action at this time.
0 commit comments