PMD 5.4.0 will use Java 1.7 from now on

This commit is contained in:
Andreas Dangel
2015-09-26 15:36:08 +02:00
parent 1ae4400ec0
commit 0ff27aab42
4 changed files with 6 additions and 4 deletions

View File

@ -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

View File

@ -263,7 +263,7 @@
<checkstyle.version>2.13</checkstyle.version>
<clover.version>2.5.1</clover.version>
<pmd.plugin.version>3.5</pmd.plugin.version>
<java.version>1.6</java.version>
<java.version>1.7</java.version>
<ant.version>1.9.4</ant.version>
<javadoc.plugin.version>2.10.1</javadoc.plugin.version>

View File

@ -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

View File

@ -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.