You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-dev@jakarta.apache.org by se...@apache.org on 2008/04/02 19:47:57 UTC

svn commit: r643992 - /jakarta/cactus/trunk/pom.xml

Author: sebb
Date: Wed Apr  2 10:47:57 2008
New Revision: 643992

URL: http://svn.apache.org/viewvc?rev=643992&view=rev
Log:
Move RAT section; update with more excludes

Modified:
    jakarta/cactus/trunk/pom.xml

Modified: jakarta/cactus/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jakarta/cactus/trunk/pom.xml?rev=643992&r1=643991&r2=643992&view=diff
==============================================================================
--- jakarta/cactus/trunk/pom.xml (original)
+++ jakarta/cactus/trunk/pom.xml Wed Apr  2 10:47:57 2008
@@ -557,6 +557,25 @@
 				<artifactId>maven-source-plugin</artifactId>
 				<version>2.4</version>
 			</plugin>
+		</plugins>
+	</pluginManagement>
+	<plugins>
+		<plugin>
+			<artifactId>maven-remote-resources-plugin</artifactId>
+			<version>1.0-beta-2</version>
+			<executions>
+				<execution>
+					<goals>
+						<goal>process</goal>
+					</goals>
+					<configuration>
+						<resourceBundles>
+							<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
+						</resourceBundles>
+					</configuration>
+				</execution>
+			</executions>
+		</plugin>
 			<plugin>
 				<groupId>org.codehaus.mojo</groupId>
 				<artifactId>rat-maven-plugin</artifactId>
@@ -570,40 +589,35 @@
 					</execution>
 				</executions>
 				<configuration>
+					<!-- Generate single report -->
+					<excludeSubProjects>false</excludeSubProjects>
+					<!-- Allow allow all failures to be reported. TODO remove/reduce this later. -->
+					<numUnapprovedLicenses>1000</numUnapprovedLicenses>
 					<reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
 					<excludes>
 						<exclude>**/target/**/*</exclude>
-						<!--Exclude the scratchpad since it is not part of the official distribution. -->
-						<exclude>**/scratchpad/**/*</exclude>
 						<!--Exclude the descriptors since they are licenses themselves. -->
 						<exclude>**/descriptors/**/*</exclude>
-						
+						<exclude>**/MANIFEST.MF</exclude>						
+						<exclude>**/HOWTO.txt</exclude>						
 						<exclude>ANNOUNCEMENT.txt</exclude>
 						<!-- Eclipse files -->
 						<exclude>**/.*</exclude>
 						<exclude>**/eclipse-classes/**/*</exclude>
+						<!-- Probably cannot have a header -->
+						<exclude>cactus-site/src/site/xdoc/original/Sequence.dfSequence</exclude>
+						<!-- short files -->
+						<exclude>**/users.properties</exclude>
+						<exclude>**/roles.properties</exclude>
+						<!-- TODO - should these have AL headers? -->
+						<exclude>**/jspRedirector.jsp</exclude>
+						<!-- Should be treated as GEN by RAT -->
+						<exclude>cactus-site/src/site/resources/apidocs/package-list</exclude>
+						<!-- Should be treated as binary by RAT -->
+						<exclude>**/*.ear</exclude>
 					</excludes>
 				</configuration>
 			</plugin>
-		</plugins>
-	</pluginManagement>
-	<plugins>
-		<plugin>
-			<artifactId>maven-remote-resources-plugin</artifactId>
-			<version>1.0-beta-2</version>
-			<executions>
-				<execution>
-					<goals>
-						<goal>process</goal>
-					</goals>
-					<configuration>
-						<resourceBundles>
-							<resourceBundle>org.apache:apache-jar-resource-bundle:1.4</resourceBundle>
-						</resourceBundles>
-					</configuration>
-				</execution>
-			</executions>
-		</plugin>
 	</plugins>
 </build>
 <modules>



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