You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ha...@apache.org on 2011/03/09 01:17:59 UTC

svn commit: r1079612 - /camel/trunk/pom.xml

Author: hadrian
Date: Wed Mar  9 00:17:59 2011
New Revision: 1079612

URL: http://svn.apache.org/viewvc?rev=1079612&view=rev
Log:
Add configuration for the apache-rat plugin

Modified:
    camel/trunk/pom.xml

Modified: camel/trunk/pom.xml
URL: http://svn.apache.org/viewvc/camel/trunk/pom.xml?rev=1079612&r1=1079611&r2=1079612&view=diff
==============================================================================
--- camel/trunk/pom.xml (original)
+++ camel/trunk/pom.xml Wed Mar  9 00:17:59 2011
@@ -154,7 +154,13 @@
             <fork>${compiler.fork}</fork>
           </configuration>
         </plugin>
-  
+
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <version>0.7</version>
+        </plugin>
+   
         <plugin>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-eclipse-plugin</artifactId>
@@ -458,6 +464,30 @@
           </execution>
         </executions>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <excludeSubProjects>false</excludeSubProjects>
+          <excludes>
+            <exclude>**/README</exclude>
+            <exclude>**/README.txt</exclude>
+            <exclude>**/resources/**/*.xsd</exclude>
+            <exclude>**/webapp/js/**/*</exclude>
+            <exclude>**/test/resources/**/*</exclude>
+            <exclude>**/test/data*/**/*</exclude>
+            <exclude>.gitignore</exclude>
+            <exclude>.git/**/*</exclude>
+            <!-- generated files -->
+            <exclude>**/target/**/*</exclude>
+            <exclude>**/eclipse-classes/**/*</exclude>
+            <exclude>**/.*</exclude>
+            <exclude>**/.settings/**/*</exclude>
+            <exclude>**/*.iml</exclude>
+            <exclude>.idea/**/*</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>