empire-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From franci...@apache.org
Subject svn commit: r800945 - /incubator/empire-db/trunk/pom.xml
Date Tue, 04 Aug 2009 20:16:32 GMT
Author: francisdb
Date: Tue Aug  4 20:16:32 2009
New Revision: 800945

URL: http://svn.apache.org/viewvc?rev=800945&view=rev
Log:
added the rat-maven-plugin for release and CI builds

Modified:
    incubator/empire-db/trunk/pom.xml

Modified: incubator/empire-db/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/empire-db/trunk/pom.xml?rev=800945&r1=800944&r2=800945&view=diff
==============================================================================
--- incubator/empire-db/trunk/pom.xml (original)
+++ incubator/empire-db/trunk/pom.xml Tue Aug  4 20:16:32 2009
@@ -49,6 +49,7 @@
 			</modules>
 		</profile>
 		<profile>
+			<!-- Hudson profile -->
 			<id>CI</id>
 			<modules>
 				<module>empire-db</module>
@@ -62,6 +63,18 @@
 			            <groupId>com.google.code.maven-license-plugin</groupId>
 			            <artifactId>maven-license-plugin</artifactId>
 			        </plugin>
+			      	<plugin>
+				        <groupId>org.codehaus.mojo</groupId>
+				        <artifactId>rat-maven-plugin</artifactId>
+				        <executions>
+				          <execution>
+				            <phase>verify</phase>
+				            <goals>
+				              <goal>check</goal>
+				            </goals>
+				          </execution>
+				        </executions>
+				    </plugin>
 					<plugin>
 					  <groupId>org.apache.maven.plugins</groupId>
 					  <artifactId>maven-source-plugin</artifactId>
@@ -89,6 +102,27 @@
 				</plugins>
 			</build>
 		</profile>
+		<profile>
+			<!-- Part of the release profile, rest in apache parent pom -->
+	      <id>release</id>
+	      <build>
+	        <plugins>
+	          <plugin>
+	            <groupId>org.codehaus.mojo</groupId>
+	            <artifactId>rat-maven-plugin</artifactId>
+	            <version>1.0-alpha-3</version>
+	            <executions>
+	              <execution>
+	                <phase>verify</phase>
+	                <goals>
+	                  <goal>check</goal>
+	                </goals>
+	              </execution>
+	            </executions>
+	          </plugin>
+	        </plugins>
+	      </build>
+	    </profile>
 	</profiles>
 	
 	
@@ -221,6 +255,11 @@
         </plugins>
 		<pluginManagement>
 			<plugins>
+				<!-- Release Audit Tool mvn rat:check -->
+			    <plugin>
+			      	<groupId>org.codehaus.mojo</groupId>
+			       	<artifactId>rat-maven-plugin</artifactId>
+			  	</plugin>
 				<plugin>
 					<groupId>org.apache.maven.plugins</groupId>
 					<artifactId>maven-assembly-plugin</artifactId>
@@ -282,6 +321,10 @@
 	<reporting>
 		<plugins>
 			<plugin>
+		        <groupId>org.codehaus.mojo</groupId>
+		        <artifactId>rat-maven-plugin</artifactId>
+		    </plugin>
+			<plugin>
 				<groupId>org.apache.maven.plugins</groupId>
 				<artifactId>maven-site-plugin</artifactId>
 				<version>2.0-beta-5</version>



Mime
View raw message