forked from phoedos/pmd
PMD 5.4.0 will use Java 1.7 from now on
This commit is contained in:
@ -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
|
||||
|
2
pom.xml
2
pom.xml
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
@ -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.
|
||||
|
Reference in New Issue
Block a user