You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lu...@apache.org on 2008/02/27 02:28:54 UTC
svn commit: r631456 - /myfaces/tomahawk/branches/1_2_0/core/pom.xml
Author: lu4242
Date: Tue Feb 26 17:28:52 2008
New Revision: 631456
URL: http://svn.apache.org/viewvc?rev=631456&view=rev
Log:
set jdk to 1.5. to pmd plugin
Modified:
myfaces/tomahawk/branches/1_2_0/core/pom.xml
Modified: myfaces/tomahawk/branches/1_2_0/core/pom.xml
URL: http://svn.apache.org/viewvc/myfaces/tomahawk/branches/1_2_0/core/pom.xml?rev=631456&r1=631455&r2=631456&view=diff
==============================================================================
--- myfaces/tomahawk/branches/1_2_0/core/pom.xml (original)
+++ myfaces/tomahawk/branches/1_2_0/core/pom.xml Tue Feb 26 17:28:52 2008
@@ -449,7 +449,21 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>surefire-report-maven-plugin</artifactId>
</plugin>
-
+ <!-- This plugin is reffered on myfaces master pom, but
+ this is needed to set targetJdk to 1.5 -->
+ <plugin>
+ <artifactId>maven-pmd-plugin</artifactId>
+ <version>2.2</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>