From 0ff27aab428a55c2dd1a7146729be00952066684 Mon Sep 17 00:00:00 2001 From: Andreas Dangel Date: Sat, 26 Sep 2015 15:36:08 +0200 Subject: [PATCH] PMD 5.4.0 will use Java 1.7 from now on --- do-release.sh | 4 ++-- pom.xml | 2 +- src/site/markdown/customizing/compiling.md.vm | 2 +- src/site/markdown/overview/changelog.md | 2 ++ 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/do-release.sh b/do-release.sh index bb641e66e1..8723c0a5b1 100755 --- a/do-release.sh +++ b/do-release.sh @@ -69,10 +69,10 @@ echo "Releasing PMD" echo "-------------------------------------------" -MVN_VERSION=$(mvn --version | grep "Java version: 1.6") +MVN_VERSION=$(mvn --version | grep "Java version: 1.7") if [ $? -ne 0 ]; then echo "Wrong java version!" - echo "Expected 1.6, but was:" + echo "Expected 1.7, but was:" mvn --version exit 1 fi diff --git a/pom.xml b/pom.xml index e4c8b9f14b..a3789b88aa 100644 --- a/pom.xml +++ b/pom.xml @@ -263,7 +263,7 @@ 2.13 2.5.1 3.5 - 1.6 + 1.7 1.9.4 2.10.1 diff --git a/src/site/markdown/customizing/compiling.md.vm b/src/site/markdown/customizing/compiling.md.vm index d63ef2336a..44336e48a7 100644 --- a/src/site/markdown/customizing/compiling.md.vm +++ b/src/site/markdown/customizing/compiling.md.vm @@ -7,7 +7,7 @@ ## Requirements -* JDK 1.6 or higher +* JDK 1.7 or higher * [Apache Maven][maven] 3 or later. [maven]: http://maven.apache.org diff --git a/src/site/markdown/overview/changelog.md b/src/site/markdown/overview/changelog.md index 57f0be6929..7d6e02c1d9 100644 --- a/src/site/markdown/overview/changelog.md +++ b/src/site/markdown/overview/changelog.md @@ -2,6 +2,7 @@ ## ????? - 5.4.0-SNAPSHOT +**Note**: PMD 5.4.0 requires JDK 1.7 or above. **New Supported Languages:** @@ -82,6 +83,7 @@ **API Changes:** +* pmd requires now JDK 1.7 or above. * pmd-core: `net.sourceforge.pmd.lang.symboltable.Scope`: The method `addNameOccurrence` returns now a Set of NameDeclarations to which the given occurrence has been added. This is useful in case there are ambiguous declarations of methods.