Skip to content

Commit

Permalink
Maven Enforcer deploy issue workaround (#30)
Browse files Browse the repository at this point in the history
False positive for missing plugin versions on deploy.
  • Loading branch information
freemanjp authored May 24, 2018
1 parent 32f5df0 commit 6c2a94b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .travis/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6c2a94b

Please sign in to comment.