Skip to content

Commit 5365c7d

Browse files
author
Emile Joubert
committed
Merged bug24545 into default
2 parents fc6ab7b + 038296c commit 5365c7d

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Makefile

Lines changed: 4 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,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
)

0 commit comments

Comments
 (0)