[jboss-cvs] JBossAS SVN: r99608 - trunk/main.
jboss-cvs-commits at lists.jboss.org
jboss-cvs-commits at lists.jboss.org
Tue Jan 19 15:02:31 EST 2010
Author: pgier
Date: 2010-01-19 15:02:30 -0500 (Tue, 19 Jan 2010)
New Revision: 99608
Modified:
trunk/main/pom.xml
Log:
[JOPR-430] Change format for Implementation version in jar manifest.
Modified: trunk/main/pom.xml
===================================================================
--- trunk/main/pom.xml 2010-01-19 19:47:57 UTC (rev 99607)
+++ trunk/main/pom.xml 2010-01-19 20:02:30 UTC (rev 99608)
@@ -37,6 +37,23 @@
</executions>
</plugin>
<plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>buildnumber-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>today-date</id>
+ <goals>
+ <goal>create</goal>
+ </goals>
+ <phase>validate</phase>
+ <configuration>
+ <timestampFormat>{0, date, yyyyMMdd}</timestampFormat>
+ <timestampPropertyName>today</timestampPropertyName>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
@@ -54,6 +71,7 @@
<manifestEntries>
<Main-Class>org.jboss.Main</Main-Class>
<Class-Path>../client/getopt.jar</Class-Path>
+ <Implementation-Version>${project.version} (Build SVNTag:JBoss_${project.version} date:${today})</Implementation-Version>
</manifestEntries>
</archive>
</configuration>
More information about the jboss-cvs-commits
mailing list