Upgrade to pmd 3.5.
The 'printToConsole' ant task attribute has been deprecated. Please use the 'toConsole' attribute of the 'formatter' element instead. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@378806 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
@@ -121,12 +121,12 @@
|
||||
</j:if>
|
||||
<maven:property var="targetjdk" name="maven.pmd.targetjdk" defaultValue="${defaultTargetJdk}"/>
|
||||
<pmd
|
||||
rulesetfiles="${maven.pmd.rulesetfiles}"
|
||||
printToConsole="${maven.pmd.console}"
|
||||
rulesetfiles="${maven.pmd.rulesetfiles}"
|
||||
failonerror="${maven.pmd.failonerror}"
|
||||
failOnRuleViolation="${maven.pmd.failonruleviolation}"
|
||||
targetjdk="${targetjdk}">
|
||||
<formatter type="xml" toFile="${maven.build.dir}/pmd-raw-report.xml"/>
|
||||
<formatter type="text" toConsole="${maven.pmd.console}" toFile="${maven.build.dir}/pmd-report.txt"/>
|
||||
<fileset dir="${pom.build.sourceDirectory}"
|
||||
includes="${maven.pmd.includes}"
|
||||
excludes="${maven.pmd.excludes}">
|
||||
|
||||
@@ -135,7 +135,7 @@
|
||||
<dependency>
|
||||
<groupId>pmd</groupId>
|
||||
<artifactId>pmd</artifactId>
|
||||
<version>3.4</version>
|
||||
<version>3.5</version>
|
||||
<url>http://pmd.sourceforge.net</url>
|
||||
</dependency>
|
||||
<dependency>
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
<action dev="aheritier" type="fix">Do not generate links to JXR files if they are not created.</action>
|
||||
<action dev="aheritier" type="update">Use properties maven.jxr.destdir and maven.jxr.destdir.test to generate links from the PMD report to jxr files.</action>
|
||||
<action dev="aheritier" type="fix">Fix NullPointerException if pom.build.sourceDirectory or pom.build.unitTestSourceDirectory are not defined.</action>
|
||||
<action dev="aheritier" type="update">Upgrade to pmd-3.4.</action>
|
||||
<action dev="aheritier" type="update">Upgrade to pmd-3.5.</action>
|
||||
</release>
|
||||
<release version="1.7" date="2005-08-05">
|
||||
<action dev="carlos" issue="MPPMD-14" type="add">Added ability to check test sources.</action>
|
||||
|
||||
Reference in New Issue
Block a user