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 "-------------------------------------------"
|
echo "-------------------------------------------"
|
||||||
|
|
||||||
|
|
||||||
MVN_VERSION=$(mvn --version | grep "Java version: 1.6")
|
MVN_VERSION=$(mvn --version | grep "Java version: 1.7")
|
||||||
if [ $? -ne 0 ]; then
|
if [ $? -ne 0 ]; then
|
||||||
echo "Wrong java version!"
|
echo "Wrong java version!"
|
||||||
echo "Expected 1.6, but was:"
|
echo "Expected 1.7, but was:"
|
||||||
mvn --version
|
mvn --version
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
2
pom.xml
2
pom.xml
@ -263,7 +263,7 @@
|
|||||||
<checkstyle.version>2.13</checkstyle.version>
|
<checkstyle.version>2.13</checkstyle.version>
|
||||||
<clover.version>2.5.1</clover.version>
|
<clover.version>2.5.1</clover.version>
|
||||||
<pmd.plugin.version>3.5</pmd.plugin.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>
|
<ant.version>1.9.4</ant.version>
|
||||||
<javadoc.plugin.version>2.10.1</javadoc.plugin.version>
|
<javadoc.plugin.version>2.10.1</javadoc.plugin.version>
|
||||||
|
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
## Requirements
|
## Requirements
|
||||||
|
|
||||||
* JDK 1.6 or higher
|
* JDK 1.7 or higher
|
||||||
* [Apache Maven][maven] 3 or later.
|
* [Apache Maven][maven] 3 or later.
|
||||||
|
|
||||||
[maven]: http://maven.apache.org
|
[maven]: http://maven.apache.org
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
## ????? - 5.4.0-SNAPSHOT
|
## ????? - 5.4.0-SNAPSHOT
|
||||||
|
|
||||||
|
**Note**: PMD 5.4.0 requires JDK 1.7 or above.
|
||||||
|
|
||||||
**New Supported Languages:**
|
**New Supported Languages:**
|
||||||
|
|
||||||
@ -82,6 +83,7 @@
|
|||||||
|
|
||||||
**API Changes:**
|
**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
|
* 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
|
NameDeclarations to which the given occurrence has been added. This is useful in case there are ambiguous declarations
|
||||||
of methods.
|
of methods.
|
||||||
|
Reference in New Issue
Block a user