Skip to content

Commit

Permalink
mvnw instead of mvn
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanhb committed Apr 6, 2019
1 parent 51870d9 commit 2833811
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: java
before_cache:
- mvn build-helper:remove-project-artifact
- ./mvnw build-helper:remove-project-artifact
- find $HOME/.m2/ -type d -name '*-SNAPSHOT' -exec rm -rf {} \; 2>/dev/null
cache:
directories:
Expand Down
2 changes: 1 addition & 1 deletion .travis/publish.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

if git config --get remote.origin.url 2>&1 | grep -F https://github.com/zhanhb/thymeleaf-layout-dialect -q && [ "$TRAVIS_PULL_REQUEST" == "false" ]; then
mvn -Duser.name=zhanhb -DskipTests=true clean deploy -s .travis/settings.xml $*
./mvnw -Duser.name=zhanhb -DskipTests=true clean deploy -s .travis/settings.xml $*
if [[ $? -ne 0 ]];then exit $?;fi
fi

0 comments on commit 2833811

Please sign in to comment.