jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r794764 - /jackrabbit/parent/trunk/pom.xml
Date Thu, 16 Jul 2009 17:39:07 GMT
Author: jukka
Date: Thu Jul 16 17:39:06 2009
New Revision: 794764

URL: http://svn.apache.org/viewvc?rev=794764&view=rev
Log:
JCRSITE-17:  Disable RAT checks in normal builds

Move the RAT plugin execution to a "pedantic" profile.

Modified:
    jackrabbit/parent/trunk/pom.xml

Modified: jackrabbit/parent/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/parent/trunk/pom.xml?rev=794764&r1=794763&r2=794764&view=diff
==============================================================================
--- jackrabbit/parent/trunk/pom.xml (original)
+++ jackrabbit/parent/trunk/pom.xml Thu Jul 16 17:39:06 2009
@@ -60,19 +60,33 @@
     <maven>2.0.9</maven>
   </prerequisites>
 
+  <profiles>
+    <profile>
+      <id>pedantic</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
+
   <build>
     <plugins>
       <plugin>
         <groupId>org.apache.rat</groupId>
         <artifactId>apache-rat-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>
         <configuration>
           <excludes>
             <exclude>release.properties</exclude>
@@ -86,6 +100,16 @@
       <!-- the Apache parent POM.                            -->
       <plugins>
         <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+          <artifactId>maven-release-plugin</artifactId>
+          <version>2.0-beta-9</version>
+          <configuration>
+            <useReleaseProfile>false</useReleaseProfile>
+            <goals>deploy</goals>
+            <arguments>-Papache-release,pedantic</arguments>
+          </configuration>
+        </plugin>
+        <plugin>
           <artifactId>maven-war-plugin</artifactId>
           <version>2.0.2</version>
         </plugin>



Mime
View raw message