Skip to content

Commit 038296c

Browse files
author
Steve Powell
committed
Put MAVEN_NEXUS_VERSION parameter back in.
1 parent c8b8edc commit 038296c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ GNUPG_PATH=~
77

88
WEB_URL=http://www.rabbitmq.com/
99
NEXUS_STAGE_URL=http://oss.sonatype.org/service/local/staging/deploy/maven2
10+
MAVEN_NEXUS_VERSION=1.7
1011

1112
AMQP_CODEGEN_DIR=$(shell fgrep sibling.codegen.dir build.properties | sed -e 's:sibling\.codegen\.dir=::')
1213

@@ -77,8 +78,8 @@ 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 \

0 commit comments

Comments
 (0)