You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by sm...@apache.org on 2013/01/25 04:18:14 UTC

svn commit: r1438308 - /airavata/trunk/pom.xml

Author: smarru
Date: Fri Jan 25 03:18:14 2013
New Revision: 1438308

URL: http://svn.apache.org/viewvc?rev=1438308&view=rev
Log:
Adding back the rat check which looks like was removed. This pedantic profile is needed to check lisence header. Also bumping the apache parent pom to latest release 13.

Modified:
    airavata/trunk/pom.xml

Modified: airavata/trunk/pom.xml
URL: http://svn.apache.org/viewvc/airavata/trunk/pom.xml?rev=1438308&r1=1438307&r2=1438308&view=diff
==============================================================================
--- airavata/trunk/pom.xml (original)
+++ airavata/trunk/pom.xml Fri Jan 25 03:18:14 2013
@@ -20,7 +20,7 @@
 	<parent>
 		<groupId>org.apache</groupId>
 		<artifactId>apache</artifactId>
-		<version>10</version>
+		<version>13</version>
 		<relativePath />
 	</parent>
 
@@ -320,7 +320,6 @@
 	</dependencyManagement>
 
 	<repositories>
-
 		<repository>
 			<id>central</id>
 			<name>Maven Central</name>
@@ -356,6 +355,7 @@
 			<url>http://unicore-dev.zam.kfa-juelich.de/maven</url>
 		</repository>
 	</repositories>
+	
 	<profiles>
 		<profile>
 			<id>default</id>
@@ -441,6 +441,43 @@
 				<module>modules/integration-tests</module>
 			</modules>
 		</profile>
+		<profile>
+			<id>pedantic</id>
+			<build>
+				<plugins>
+					<plugin>
+						<groupId>org.apache.maven.plugins</groupId>
+						<artifactId>maven-compiler-plugin</artifactId>
+						<version>2.3.2</version>
+						<configuration>
+							<source>1.6</source>
+							<target>1.6</target>
+						</configuration>
+					</plugin>
+					<plugin>
+						<groupId>org.apache.rat</groupId>
+						<artifactId>apache-rat-plugin</artifactId>
+						<configuration>
+							<excludes>
+								<exclude>**/target/**/*</exclude>
+								<exclude>**/.settings/**/*</exclude>
+								<exclude>**/.project</exclude>
+								<exclude>**/.classpath</exclude>
+								<exclude>**/logo.txt</exclude>
+							</excludes>
+						</configuration>
+						<executions>
+							<execution>
+								<phase>verify</phase>
+								<goals>
+									<goal>check</goal>
+								</goals>
+							</execution>
+						</executions>
+					</plugin>
+				</plugins>
+			</build>
+		</profile>
 	</profiles>
 
 	<reporting>