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