You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ah...@apache.org on 2006/02/19 01:48:53 UTC

svn commit: r378806 - in /maven/maven-1/plugins/trunk/pmd: plugin.jelly project.xml xdocs/changes.xml

Author: aheritier
Date: Sat Feb 18 16:48:52 2006
New Revision: 378806

URL: http://svn.apache.org/viewcvs?rev=378806&view=rev
Log:
Upgrade to pmd 3.5.
The 'printToConsole' ant task attribute has been deprecated.  Please use the 'toConsole' attribute of the 'formatter' element instead.

Modified:
    maven/maven-1/plugins/trunk/pmd/plugin.jelly
    maven/maven-1/plugins/trunk/pmd/project.xml
    maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml

Modified: maven/maven-1/plugins/trunk/pmd/plugin.jelly
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pmd/plugin.jelly?rev=378806&r1=378805&r2=378806&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pmd/plugin.jelly (original)
+++ maven/maven-1/plugins/trunk/pmd/plugin.jelly Sat Feb 18 16:48:52 2006
@@ -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}">

Modified: maven/maven-1/plugins/trunk/pmd/project.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pmd/project.xml?rev=378806&r1=378805&r2=378806&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pmd/project.xml (original)
+++ maven/maven-1/plugins/trunk/pmd/project.xml Sat Feb 18 16:48:52 2006
@@ -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>

Modified: maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml
URL: http://svn.apache.org/viewcvs/maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml?rev=378806&r1=378805&r2=378806&view=diff
==============================================================================
--- maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml (original)
+++ maven/maven-1/plugins/trunk/pmd/xdocs/changes.xml Sat Feb 18 16:48:52 2006
@@ -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>