You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by sk...@apache.org on 2007/12/17 10:34:56 UTC

svn commit: r604804 - /myfaces/core/trunk_1.2.x/pom.xml

Author: skitching
Date: Mon Dec 17 01:34:55 2007
New Revision: 604804

URL: http://svn.apache.org/viewvc?rev=604804&view=rev
Log:
Fix PMD plugin config inherited from base maven, which was specifying java=1.3.
This allows the 1.2 site to build.

Modified:
    myfaces/core/trunk_1.2.x/pom.xml

Modified: myfaces/core/trunk_1.2.x/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/core/trunk_1.2.x/pom.xml?rev=604804&r1=604803&r2=604804&view=diff
==============================================================================
--- myfaces/core/trunk_1.2.x/pom.xml (original)
+++ myfaces/core/trunk_1.2.x/pom.xml Mon Dec 17 01:34:55 2007
@@ -87,6 +87,20 @@
         <groupId>org.codehaus.mojo</groupId>
         <artifactId>cobertura-maven-plugin</artifactId>
       </plugin>
+      <!-- override PMD settings to set targetJdk -->
+      <plugin>
+        <artifactId>maven-pmd-plugin</artifactId>
+        <version>2.0</version>
+        <configuration>
+          <rulesets>
+            <ruleset>/rulesets/basic.xml</ruleset>
+            <ruleset>/rulesets/unusedcode.xml</ruleset>
+          </rulesets>
+          <linkXref>true</linkXref>
+          <minimumTokens>100</minimumTokens>
+          <targetJdk>1.5</targetJdk>
+        </configuration>
+      </plugin>
     </plugins>
   </reporting>
   <dependencyManagement>