[jboss-cvs] JBossAS SVN: r95696 - trunk/build.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Oct 28 13:14:14 EDT 2009


Author: pgier
Date: 2009-10-28 13:14:14 -0400 (Wed, 28 Oct 2009)
New Revision: 95696

Modified:
   trunk/build/pom.xml
Log:
Licenses should only be downloaded if the dist is built.

Modified: trunk/build/pom.xml
===================================================================
--- trunk/build/pom.xml	2009-10-28 17:10:23 UTC (rev 95695)
+++ trunk/build/pom.xml	2009-10-28 17:14:14 UTC (rev 95696)
@@ -13,25 +13,6 @@
   <url>http://www.jboss.org/jbossas</url>
   <description>JBoss Application Server Distribution</description>
 
-  <build>
-    <plugins>
-      <!-- Download the license files for each dependency -->
-      <plugin>
-        <groupId>org.jboss.maven.plugins</groupId>
-        <artifactId>maven-jboss-license-plugin</artifactId>
-        <version>1.0.3</version>
-        <inherited>false</inherited>
-        <executions>
-          <execution>
-            <goals>
-              <goal>download-licenses</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
-
   <dependencies>
     
     <!-- 
@@ -585,7 +566,21 @@
       </activation>
       <build>
         <plugins>
+          <!-- Download the license files for each dependency -->
           <plugin>
+            <groupId>org.jboss.maven.plugins</groupId>
+            <artifactId>maven-jboss-license-plugin</artifactId>
+            <version>1.0.3</version>
+            <inherited>false</inherited>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>download-licenses</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+          <plugin>
             <groupId>org.apache.maven.plugins</groupId>
             <artifactId>maven-antrun-plugin</artifactId>
             <inherited>false</inherited>




More information about the jboss-cvs-commits mailing list