Author: michaelo Date: Tue Jan 6 21:48:35 2015 New Revision: 1649957 URL: http://svn.apache.org/r1649957 Log: [MPMD-202] Remove notes to ancient version of this plugin and expired information
Modified: maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdReport.java maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReport.java maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/violation-exclusions.apt.vm maven/plugins/trunk/maven-pmd-plugin/src/site/apt/usage.apt.vm Modified: maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdReport.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdReport.java?rev=1649957&r1=1649956&r2=1649957&view=diff ============================================================================== --- maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdReport.java (original) +++ maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/AbstractPmdReport.java Tue Jan 6 21:48:35 2015 @@ -184,9 +184,7 @@ public abstract class AbstractPmdReport protected List<MavenProject> reactorProjects; /** - * Whether to include the xml files generated by PMD/CPD in the site.<br/> - * <strong>Note:</strong> In versions 2.2 - 2.7.1 the default value for this - * was <code>true</code>. This was changed in version 3.0. + * Whether to include the xml files generated by PMD/CPD in the site. * * @since 3.0 */ Modified: maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReport.java URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReport.java?rev=1649957&r1=1649956&r2=1649957&view=diff ============================================================================== --- maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReport.java (original) +++ maven/plugins/trunk/maven-pmd-plugin/src/main/java/org/apache/maven/plugin/pmd/PmdReport.java Tue Jan 6 21:48:35 2015 @@ -79,7 +79,8 @@ public class PmdReport { /** * The target JDK to analyze based on. Should match the target used in the compiler plugin. Valid values are - * currently <code>1.3</code>, <code>1.4</code>, <code>1.5</code>, <code>1.6</code> and <code>1.7</code>. + * currently <code>1.3</code>, <code>1.4</code>, <code>1.5</code>, <code>1.6</code>, <code>1.7</code> + * and <code>1.7</code>. */ @Parameter( property = "targetJdk", defaultValue = "${maven.compiler.target}" ) private String targetJdk; @@ -116,8 +117,7 @@ public class PmdReport /** * The PMD rulesets to use. See the <a href="http://pmd.sourceforge.net/rules/index.html">Stock Rulesets</a> for a - * list of some included. Since version 2.5, the ruleset "rulesets/maven.xml" is also available. Defaults to the - * java-basic, java-imports and java-unusedcode rulesets. + * list of some included. Defaults to the java-basic, java-imports and java-unusedcode rulesets. */ @Parameter private String[] rulesets = new String[]{ "java-basic", "java-unusedcode", "java-imports" }; Modified: maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/violation-exclusions.apt.vm URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/violation-exclusions.apt.vm?rev=1649957&r1=1649956&r2=1649957&view=diff ============================================================================== --- maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/violation-exclusions.apt.vm (original) +++ maven/plugins/trunk/maven-pmd-plugin/src/site/apt/examples/violation-exclusions.apt.vm Tue Jan 6 21:48:35 2015 @@ -26,7 +26,7 @@ Violation Exclusions - Since version 3.0 it is possible to excluse some sources from pmd/cpd check to prevent failure. + It is possible to exclude some sources from PMD/CPD check to prevent failures. +-----+ <project> Modified: maven/plugins/trunk/maven-pmd-plugin/src/site/apt/usage.apt.vm URL: http://svn.apache.org/viewvc/maven/plugins/trunk/maven-pmd-plugin/src/site/apt/usage.apt.vm?rev=1649957&r1=1649956&r2=1649957&view=diff ============================================================================== --- maven/plugins/trunk/maven-pmd-plugin/src/site/apt/usage.apt.vm (original) +++ maven/plugins/trunk/maven-pmd-plugin/src/site/apt/usage.apt.vm Tue Jan 6 21:48:35 2015 @@ -81,7 +81,7 @@ Configuration You can configure the minimum code size which trips the CPD. The default of <<<100>>> tokens corresponds to approximately 5-10 lines of code. - Since PMD parses the Java source, it needs to know which Java version to use. The default is <<<1.4>>>. + Since PMD parses the Java source, it needs to know which Java version to use. CPD's default is <<<1.8>>>. The following is a possible configuration: +-----+