File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-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,7 +78,7 @@ stage-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+ mvn org.sonatype.plugins:nexus-maven-plugin:$( MAVEN_NEXUS_VERSION ) : staging-close \
8182 -Dnexus.url=http://oss.sonatype.org \
8283 -Dnexus.username=$$ NEXUS_USERNAME \
8384 -Dnexus.password=$$ NEXUS_PASSWORD \
@@ -89,7 +90,7 @@ promote-maven-bundle:
8990 ( \
9091 NEXUS_USERNAME=` cat $( GNUPG_PATH) /../nexus/username` ; \
9192 NEXUS_PASSWORD=` cat $( GNUPG_PATH) /../nexus/password` ; \
92- mvn org.sonatype.plugins:nexus-maven-plugin:staging-promote \
93+ mvn org.sonatype.plugins:nexus-maven-plugin:$( MAVEN_NEXUS_VERSION ) : staging-promote \
9394 -Dnexus.url=http://oss.sonatype.org \
9495 -Dnexus.username=$$ NEXUS_USERNAME \
9596 -Dnexus.password=$$ NEXUS_PASSWORD \
You can’t perform that action at this time.
0 commit comments