geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r512657 - /geronimo/server/trunk/pom.xml
Date Wed, 28 Feb 2007 08:37:19 GMT
Author: jdillon
Date: Wed Feb 28 00:37:18 2007
New Revision: 512657

URL: http://svn.apache.org/viewvc?view=rev&rev=512657
Log:
Fail the build if no legal files copied/found

Modified:
    geronimo/server/trunk/pom.xml

Modified: geronimo/server/trunk/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/pom.xml?view=diff&rev=512657&r1=512656&r2=512657
==============================================================================
--- geronimo/server/trunk/pom.xml (original)
+++ geronimo/server/trunk/pom.xml Wed Feb 28 00:37:18 2007
@@ -1566,7 +1566,7 @@
 
                 <!-- Tools includes custom packagings, install as extension to pick them
up -->
                 <extensions>true</extensions>
-
+                
                 <executions>
                     <execution>
                         <id>validate-java-version</id>
@@ -1578,13 +1578,29 @@
                             <version>1.5*</version>
                         </configuration>
                     </execution>
-
+                    
                     <execution>
                         <id>install-legal-files</id>
                         <phase>generate-resources</phase>
                         <goals>
                             <goal>copy-legal-files</goal>
                         </goals>
+                        <configuration>
+                            <!-- Fail the build if no legal files were copied -->
+                            <strict>true</strict>
+                        </configuration>
+                    </execution>
+                    
+                    <execution>
+                        <id>verify-legal-files</id>
+                        <phase>verify</phase>
+                        <goals>
+                            <goal>verify-legal-files</goal>
+                        </goals>
+                        <configuration>
+                            <!-- Fail the build if no legal files were found -->
+                            <strict>true</strict>
+                        </configuration>
                     </execution>
                 </executions>
             </plugin>



Mime
View raw message