From 4f62e84392442f2ac2ed77b81eec85a89aac0b01 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 13 Jan 2018 11:13:59 +0100 Subject: [PATCH] Use openjdk7 See https://raw.githubusercontent.com/michaelklishin/jdk_switcher/1e091549285fb0f2591cef679b4135cfbfcc0b4c/jdk_switcher.sh for the paths See travis-ci/travis-ci#7964 --- .travis/build-deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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