diff --git a/.travis/build-deploy.sh b/.travis/build-deploy.sh index d5a67c3739..ce01fc87d0 100755 --- a/.travis/build-deploy.sh +++ b/.travis/build-deploy.sh @@ -26,7 +26,7 @@ VERSION=$(./mvnw -q -Dexec.executable="echo" -Dexec.args='${project.version}' -- echo "Building PMD ${VERSION} on branch ${TRAVIS_BRANCH}" # TODO : Once we release PMD 6.0.0 and have a compatible PMD plugin, enable PMD once again -MVN_BUILD_FLAGS="-B -V -Djava7.home=/usr/lib/jvm/java-7-oracle -Dpmd.skip=true" +MVN_BUILD_FLAGS="-B -V -Djava7.home=/usr/lib/jvm/java-7-openjdk -Dpmd.skip=true" if travis_isPullRequest; then