[jboss-cvs] JBossAS SVN: r92316 - trunk.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Thu Aug 13 14:30:22 EDT 2009


Author: pgier
Date: 2009-08-13 14:30:22 -0400 (Thu, 13 Aug 2009)
New Revision: 92316

Modified:
   trunk/pom.xml
Log:
Update build-helper version.  Move buildnumber config to specific execution.

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2009-08-13 16:18:51 UTC (rev 92315)
+++ trunk/pom.xml	2009-08-13 18:30:22 UTC (rev 92316)
@@ -139,7 +139,7 @@
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
           <artifactId>build-helper-maven-plugin</artifactId>
-          <version>1.2</version>
+          <version>1.4</version>
         </plugin>
         <plugin>
           <groupId>org.codehaus.mojo</groupId>
@@ -188,15 +188,15 @@
               <goal>create</goal>
             </goals>
             <phase>validate</phase>
+            <configuration>
+              <!-- If the plugin fails to get the scm revision, set it to "unavailable" -->
+              <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
+              <revisionOnScmFailure>unavailable</revisionOnScmFailure>
+              <timestampFormat>{0, date, long} {0, time, long}</timestampFormat>
+            </configuration>
           </execution>
         </executions>
         <inherited>true</inherited>
-        <configuration>
-          <!-- If the plugin fails to get the scm revision, set it to "unavailable" -->
-          <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
-          <revisionOnScmFailure>unavailable</revisionOnScmFailure>
-          <timestampFormat>{0, date, long} {0, time, long}</timestampFormat>
-        </configuration>
       </plugin>
       <plugin>
         <groupId>org.codehaus.mojo</groupId>




More information about the jboss-cvs-commits mailing list