From 2bc5b77d4469845f57c3c6e06f99d4f428690bbc Mon Sep 17 00:00:00 2001 From: Juliano Mohr Date: Mon, 28 Jun 2021 09:36:17 +1000 Subject: [PATCH] Fix nexus:staging --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 1c32470..db6b8a6 100644 --- a/.travis.yml +++ b/.travis.yml @@ -33,12 +33,12 @@ script: after_success: - if [[ -n "$TRAVIS_TAG" && "$TRAVIS_JDK_VERSION" == "openjdk11" ]]; then - $MAVEN_CMD nexus-staging:release --settings settings.xml; + $MAVEN_CMD nexus-staging:release --activate-profiles deploy --settings settings.xml; fi after_failure: - if [[ -n "$TRAVIS_TAG" && "$TRAVIS_JDK_VERSION" == "openjdk11" ]]; then - $MAVEN_CMD nexus-staging:drop --settings settings.xml; + $MAVEN_CMD nexus-staging:drop --activate-profiles deploy --settings settings.xml; fi deploy: