Author: felixk
Date: Thu Sep 4 00:19:24 2008
New Revision: 691891
URL: http://svn.apache.org/viewvc?rev=691891&view=rev
Log:
IMO it seems that the rat plugin has a problem with multiprojects.
Adding now the default exclusions directly to the configuration, no matter
where these files are (**/).
It's not nice and can exclude false positives but I think it's better than having
all the by default 'excluded' stuff still in the reports.
Modified:
directory/project/trunk/pom.xml
Modified: directory/project/trunk/pom.xml
URL: http://svn.apache.org/viewvc/directory/project/trunk/pom.xml?rev=691891&r1=691890&r2=691891&view=diff
==============================================================================
--- directory/project/trunk/pom.xml (original)
+++ directory/project/trunk/pom.xml Thu Sep 4 00:19:24 2008
@@ -373,7 +373,17 @@
<artifactId>rat-maven-plugin</artifactId>
<configuration>
<excludes>
+ <!-- MAVEN_DEFAULT_EXCLUDES -->
<exclude>**/target/**/*</exclude>
+ <exclude>**/cobertura.ser</exclude>
+ <!-- ECLIPSE_DEFAULT_EXCLUDES -->
+ <exclude>**/.classpath</exclude>
+ <exclude>**/.project</exclude>
+ <exclude>**/.settings/**/*</exclude>
+ <!-- IDEA_DEFAULT_EXCLUDES -->
+ <exclude>**/*.iml</exclude>
+ <exclude>**/*.ipr</exclude>
+ <exclude>**/*.iws</exclude>
</excludes>
</configuration>
<executions>
@@ -384,8 +394,8 @@
</goals>
</execution>
</executions>
- </plugin>
-
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
@@ -534,9 +544,19 @@
<groupId>org.codehaus.mojo</groupId>
<artifactId>rat-maven-plugin</artifactId>
<configuration>
- <excludeSubProjects>false</excludeSubProjects>
- <excludes>
+ <excludeSubProjects>false</excludeSubProjects>
+ <excludes>
+ <!-- MAVEN_DEFAULT_EXCLUDES -->
<exclude>**/target/**/*</exclude>
+ <exclude>**/cobertura.ser</exclude>
+ <!-- ECLIPSE_DEFAULT_EXCLUDES -->
+ <exclude>**/.classpath</exclude>
+ <exclude>**/.project</exclude>
+ <exclude>**/.settings/**/*</exclude>
+ <!-- IDEA_DEFAULT_EXCLUDES -->
+ <exclude>**/*.iml</exclude>
+ <exclude>**/*.ipr</exclude>
+ <exclude>**/*.iws</exclude>
</excludes>
</configuration>
</plugin>
|