Force deployment repository 27/57827/1 release/carbon
authorThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 May 2017 18:16:59 +0000 (14:16 -0400)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 25 May 2017 18:17:29 +0000 (14:17 -0400)
Explicitly force the opendaylight.snapshot repository to ensure that we
push to the right repo even if a project pom does not define a
deployment repo.

Change-Id: I066870a9b0c2625ddb0284bc0404c9e922c13aac
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
jjb/autorelease/version-bump.sh

index 8d2e454fb573171c21d6c29330478763a1b1b11c..15b7c8739ac428bc2865896b8a806be246a410eb 100644 (file)
@@ -62,6 +62,7 @@ then
     "$MVN" clean deploy -Pq \
     -s "$SETTINGS_FILE" \
     -gs "$GLOBAL_SETTINGS_FILE" \
+    -DaltDeploymentRepository="opendaylight-snapshot::default::https://nexus.opendaylight.org/content/repositories/opendaylight.snapshot" \
     --show-version \
     --batch-mode \
     -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn \