Refactor exec-maven-plugin version and usage

This commit is contained in:
Andreas Dangel
2020-07-16 18:14:46 +02:00
parent 9180b479cb
commit bb005ea5d4
8 changed files with 14 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ set -e
source .travis/logger.sh
source .travis/common-functions.sh
VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' --non-recursive org.codehaus.mojo:exec-maven-plugin:3.0.0:exec)
VERSION=$(get_pom_version)
log_info "Building PMD Sonar ${VERSION} on branch ${TRAVIS_BRANCH}"
if ! travis_isPush; then