You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stanbol.apache.org by fc...@apache.org on 2012/02/20 15:44:18 UTC

svn commit: r1291288 - /incubator/stanbol/trunk/parent/pom.xml

Author: fchrist
Date: Mon Feb 20 14:44:17 2012
New Revision: 1291288

URL: http://svn.apache.org/viewvc?rev=1291288&view=rev
Log:
STANBOL-493 Removed maven-license-plugin from default build as it does not provide any benefit. To use it activate the 'rat' profile.

Modified:
    incubator/stanbol/trunk/parent/pom.xml

Modified: incubator/stanbol/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/incubator/stanbol/trunk/parent/pom.xml?rev=1291288&r1=1291287&r2=1291288&view=diff
==============================================================================
--- incubator/stanbol/trunk/parent/pom.xml (original)
+++ incubator/stanbol/trunk/parent/pom.xml Mon Feb 20 14:44:17 2012
@@ -85,23 +85,6 @@
         </executions>
       </plugin>
       <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>license-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>compile</phase>
-            <goals>
-              <goal>add-third-party</goal>
-            </goals>
-            <configuration>
-              <groupByLicense>true</groupByLicense>
-              <outputDirectory>${project.build.directory}/maven-shared-archive-resources/META-INF</outputDirectory>
-              <thirdPartyFilename>DEPENDENCIES-BY-LICENSE</thirdPartyFilename>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
-      <plugin>
         <!-- Compile for Java 6, source is Java 6 -->
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
@@ -1837,8 +1820,11 @@
                   <goal>add-third-party</goal>
                 </goals>
                 <configuration>
+                  <groupByLicense>true</groupByLicense>
                   <failIfWarning>true</failIfWarning>
                   <useMissingFile>true</useMissingFile>
+                  <outputDirectory>${project.build.directory}/maven-shared-archive-resources/META-INF</outputDirectory>
+                  <thirdPartyFilename>DEPENDENCIES-BY-LICENSE</thirdPartyFilename>
                 </configuration>
               </execution>
             </executions>
@@ -1868,7 +1854,25 @@
               </dependency>
             </dependencies>
           </plugin>
-        </plugins>	
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>license-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>add-third-party</goal>
+                </goals>
+                <configuration>
+                  <groupByLicense>true</groupByLicense>
+                  <failIfWarning>true</failIfWarning>
+                  <useMissingFile>true</useMissingFile>
+                  <outputDirectory>${project.build.directory}/maven-shared-archive-resources/META-INF</outputDirectory>
+                  <thirdPartyFilename>DEPENDENCIES-BY-LICENSE</thirdPartyFilename>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>          
+        </plugins>
       </build>
     </profile>
   </profiles>