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=~
7
7
8
8
WEB_URL =http://www.rabbitmq.com/
9
9
NEXUS_STAGE_URL =http://oss.sonatype.org/service/local/staging/deploy/maven2
10
+ MAVEN_NEXUS_VERSION =1.7
10
11
11
12
AMQP_CODEGEN_DIR =$(shell fgrep sibling.codegen.dir build.properties | sed -e 's:sibling\.codegen\.dir=::')
12
13
@@ -77,7 +78,7 @@ stage-maven-bundle: maven-bundle
77
78
amqp-client-$(VERSION ) .jar \
78
79
amqp-client-$(VERSION ) -javadoc.jar \
79
80
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 \
81
82
-Dnexus.url=http://oss.sonatype.org \
82
83
-Dnexus.username=$$ NEXUS_USERNAME \
83
84
-Dnexus.password=$$ NEXUS_PASSWORD \
@@ -89,7 +90,7 @@ promote-maven-bundle:
89
90
( \
90
91
NEXUS_USERNAME=` cat $( GNUPG_PATH) /../nexus/username` ; \
91
92
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 \
93
94
-Dnexus.url=http://oss.sonatype.org \
94
95
-Dnexus.username=$$ NEXUS_USERNAME \
95
96
-Dnexus.password=$$ NEXUS_PASSWORD \
You can’t perform that action at this time.
0 commit comments