Author: carlos
Date: Wed Jun 21 17:27:49 2006
New Revision: 416184

URL: http://svn.apache.org/viewvc?rev=416184&view=rev
Log:
Added checkstyle configuration and pmd check for duplications

Modified:
    maven/pom/maven/pom.xml

Modified: maven/pom/maven/pom.xml
URL: 
http://svn.apache.org/viewvc/maven/pom/maven/pom.xml?rev=416184&r1=416183&r2=416184&view=diff
==============================================================================
--- maven/pom/maven/pom.xml (original)
+++ maven/pom/maven/pom.xml Wed Jun 21 17:27:49 2006
@@ -27,7 +27,7 @@
   </parent>
   <groupId>org.apache.maven</groupId>
   <artifactId>maven-parent</artifactId>
-  <version>2</version>
+  <version>3-SNAPSHOT</version>
   <packaging>pom</packaging>
   <name>Apache Maven</name>
   <description>
@@ -215,6 +215,22 @@
     </site>
   </distributionManagement>
 
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-pmd-plugin</artifactId>
+        <executions>
+          <execution>
+            <goals>
+              <goal>cpd-check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
+
   <reporting>
     <plugins>
       <plugin>
@@ -224,6 +240,10 @@
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-checkstyle-plugin</artifactId>
+        <configuration>
+          
<configLocation>http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/config/maven_checks.xml</configLocation>
+          
<headerLocation>http://svn.apache.org/repos/asf/maven/plugins/trunk/maven-checkstyle-plugin/src/main/resources/config/maven-header.txt</headerLocation>
+        </configuration>
       </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>


Reply via email to