Use openjdk7
See https://raw.githubusercontent.com/michaelklishin/jdk_switcher/1e091549285fb0f2591cef679b4135cfbfcc0b4c/jdk_switcher.sh for the paths See travis-ci/travis-ci#7964
This commit is contained in:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user