You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ba...@apache.org on 2010/01/31 13:15:17 UTC

svn commit: r905011 - in /james/jdkim/trunk: main/pom.xml pom.xml

Author: bago
Date: Sun Jan 31 12:15:16 2010
New Revision: 905011

URL: http://svn.apache.org/viewvc?rev=905011&view=rev
Log:
Add rat module to the build and exclude "known" headerless resources

Modified:
    james/jdkim/trunk/main/pom.xml
    james/jdkim/trunk/pom.xml

Modified: james/jdkim/trunk/main/pom.xml
URL: http://svn.apache.org/viewvc/james/jdkim/trunk/main/pom.xml?rev=905011&r1=905010&r2=905011&view=diff
==============================================================================
--- james/jdkim/trunk/main/pom.xml (original)
+++ james/jdkim/trunk/main/pom.xml Sun Jan 31 12:15:16 2010
@@ -306,6 +306,21 @@
   <reporting>
     <plugins>
       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>rat-maven-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <!-- test resources created by JAMES committers / we can't include ALv2 headers there -->
+            <exclude>src/test/resources/org/apache/james/jdkim/corpus/*</exclude>
+            <exclude>src/test/resources/org/apache/james/jdkim/Mail-DKIM/FAKE_DNS.dat</exclude>
+            <exclude>src/test/resources/org/apache/james/jdkim/Mail-DKIM/corpus/*</exclude>
+            <exclude>release.properties</exclude>
+            <exclude>dependency-reduced-pom.xml</exclude>
+            <exclude>**/.*/**/*</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
+      <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
         <version>2.6.1</version>
       </plugin>

Modified: james/jdkim/trunk/pom.xml
URL: http://svn.apache.org/viewvc/james/jdkim/trunk/pom.xml?rev=905011&r1=905010&r2=905011&view=diff
==============================================================================
--- james/jdkim/trunk/pom.xml (original)
+++ james/jdkim/trunk/pom.xml Sun Jan 31 12:15:16 2010
@@ -193,6 +193,12 @@
 
   <reporting>
     <plugins>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>rat-maven-plugin</artifactId>
+        <version>1.0-alpha-3</version>
+        <inherited>false</inherited>
+      </plugin>
       <plugin>
         <artifactId>maven-site-plugin</artifactId>
         <version>2.1</version>
@@ -242,6 +248,20 @@
     </pluginManagement>
     <plugins>
       <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>rat-maven-plugin</artifactId>
+        <version>1.0-alpha-3</version>
+        <inherited>false</inherited>
+        <executions>
+          <execution>
+            <phase>verify</phase>
+            <goals>
+              <goal>check</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+      <plugin>
         <artifactId>maven-javadoc-plugin</artifactId>
         <version>2.6.1</version>
         <executions>



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org