You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/07/12 16:05:38 UTC

svn commit: r963284 - in /activemq/sandbox/activemq-apollo-actor: apache-activemq-apollo/pom.xml pom.xml

Author: chirino
Date: Mon Jul 12 14:05:38 2010
New Revision: 963284

URL: http://svn.apache.org/viewvc?rev=963284&view=rev
Log:
moving the license plugin into a profile so it's only run when requested

Modified:
    activemq/sandbox/activemq-apollo-actor/apache-activemq-apollo/pom.xml
    activemq/sandbox/activemq-apollo-actor/pom.xml

Modified: activemq/sandbox/activemq-apollo-actor/apache-activemq-apollo/pom.xml
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/apache-activemq-apollo/pom.xml?rev=963284&r1=963283&r2=963284&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/apache-activemq-apollo/pom.xml (original)
+++ activemq/sandbox/activemq-apollo-actor/apache-activemq-apollo/pom.xml Mon Jul 12 14:05:38 2010
@@ -20,7 +20,7 @@
 
   <parent>
     <groupId>org.apache.activemq</groupId>
-    <artifactId>activemq-scala</artifactId>
+    <artifactId>apollo-project</artifactId>
     <version>6.0-SNAPSHOT</version>
   </parent>
 

Modified: activemq/sandbox/activemq-apollo-actor/pom.xml
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/pom.xml?rev=963284&r1=963283&r2=963284&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/pom.xml (original)
+++ activemq/sandbox/activemq-apollo-actor/pom.xml Mon Jul 12 14:05:38 2010
@@ -363,50 +363,6 @@
     </pluginManagement>
     <plugins>
       <plugin>
-        <groupId>com.mycila.maven-license-plugin</groupId>
-        <artifactId>maven-license-plugin</artifactId>
-        <version>1.6.0</version>
-        <configuration>
-          <quiet>false</quiet>
-          <header>src/main/resources/license-header.txt</header>
-          <includes>
-              <include>src/**</include>
-              <include>**/pom.xml</include>
-          </includes>
-          <excludes>
-            <!-- can remove once http://code.google.com/p/maven-license-plugin/issues/detail?id=72 is resolved -->
-            <exclude>**/*.scaml</exclude>
-            <exclude>**/LICENSE.txt</exclude>
-            <exclude>**/LICENSE</exclude>
-            <exclude>**/.svn/**</exclude>
-            
-            <!-- ignore files produced during a build -->
-            <exclude>**/target/**</exclude>
-            
-            <!-- ignore binary files -->
-            <exclude>**/*.jpg</exclude>
-            <exclude>**/*.png</exclude>
-            <exclude>**/*.gif</exclude>
-            <exclude>**/*.ico</exclude>
-            <exclude>**/*.keystore</exclude>
-          </excludes>
-          <useDefaultExcludes>false</useDefaultExcludes>
-          <mapping>
-              <jj>JAVADOC_STYLE</jj>
-              <proto>DOUBLESLASH_STYLE</proto>
-              <index>SCRIPT_STYLE</index>
-          </mapping>
-        </configuration>
-        <executions>
-          <execution>
-            <goals>
-              <goal>check</goal>
-            </goals>
-          </execution>
-        </executions>        
-      </plugin>
-
-      <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <configuration>
@@ -546,6 +502,61 @@
   </reporting>
 
   <profiles>
+    <!-- 
+        Do a license check by running       : mvn -P license license:check  
+        UPdate the license check by running : mvn -P license license:format  
+      -->
+    <profile>
+      <id>license</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>com.mycila.maven-license-plugin</groupId>
+            <artifactId>maven-license-plugin</artifactId>
+            <version>1.6.0</version>
+            <configuration>
+              <quiet>false</quiet>
+              <header>src/main/resources/license-header.txt</header>
+              <aggregate>true</aggregate>
+              <includes>
+                  <include>src/**</include>
+                  <include>**/pom.xml</include>
+              </includes>
+              <excludes>
+                <!-- can remove once http://code.google.com/p/maven-license-plugin/issues/detail?id=72 is resolved -->
+                <exclude>**/*.scaml</exclude>
+                <exclude>**/LICENSE.txt</exclude>
+                <exclude>**/LICENSE</exclude>
+                <exclude>**/.svn/**</exclude>
+            
+                <!-- ignore files produced during a build -->
+                <exclude>**/target/**</exclude>
+            
+                <!-- ignore binary files -->
+                <exclude>**/*.jpg</exclude>
+                <exclude>**/*.png</exclude>
+                <exclude>**/*.gif</exclude>
+                <exclude>**/*.ico</exclude>
+                <exclude>**/*.keystore</exclude>
+              </excludes>
+              <useDefaultExcludes>false</useDefaultExcludes>
+              <mapping>
+                  <jj>JAVADOC_STYLE</jj>
+                  <proto>DOUBLESLASH_STYLE</proto>
+                  <index>SCRIPT_STYLE</index>
+              </mapping>
+            </configuration>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>        
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
     
     <profile>
       <id>benchmark</id>