You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by mp...@apache.org on 2006/02/09 16:39:44 UTC

svn commit: r376324 - /maven/plugins/trunk/maven-pmd-plugin/src/site/apt/howto.apt

Author: mperham
Date: Thu Feb  9 07:39:40 2006
New Revision: 376324

URL: http://svn.apache.org/viewcvs?rev=376324&view=rev
Log:
Document the targetJdk parameter

Modified:
    maven/plugins/trunk/maven-pmd-plugin/src/site/apt/howto.apt

Modified: maven/plugins/trunk/maven-pmd-plugin/src/site/apt/howto.apt
URL: http://svn.apache.org/viewcvs/maven/plugins/trunk/maven-pmd-plugin/src/site/apt/howto.apt?rev=376324&r1=376323&r2=376324&view=diff
==============================================================================
--- maven/plugins/trunk/maven-pmd-plugin/src/site/apt/howto.apt (original)
+++ maven/plugins/trunk/maven-pmd-plugin/src/site/apt/howto.apt Thu Feb  9 07:39:40 2006
@@ -29,6 +29,8 @@
   
   You can configure the minimum code size which trips the CPD.  The default of 100 tokens cooresponds
   to approxiamately 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.
 
 +--------
     <reporting>
@@ -47,6 +49,7 @@
                     <linkXref>true</linkXref>
                     <sourceEncoding>utf-8</sourceEncoding>
                     <minimumTokens>100</minimumTokens>
+                    <targetJdk>1.5</targetJdk>
                 </configuration>
             </plugin>
         </plugins>