From 6c2a94b6b93f0ac6f4dff58174aca3c3e08709b6 Mon Sep 17 00:00:00 2001 From: John Freeman Date: Thu, 24 May 2018 12:15:05 +0100 Subject: [PATCH] Maven Enforcer deploy issue workaround (#30) False positive for missing plugin versions on deploy. --- .travis/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis/build.sh b/.travis/build.sh index 50037c2a..c544642d 100755 --- a/.travis/build.sh +++ b/.travis/build.sh @@ -6,7 +6,8 @@ set -e if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then if [ "$TRAVIS_TAG" != "" ]; then - ./mvnw deploy -P publish-artifacts --batch-mode --show-version --settings .travis/settings.xml + ./mvnw deploy -P publish-artifacts --batch-mode --show-version --settings .travis/settings.xml \ + -Denforcer.skip=true ./mvnw site-deploy -P site-deploy --batch-mode --show-version --settings .travis/settings.xml fi