Rex Huang wrote:
when I use buildnumber-maven-plugin, it generate the buildnumber as below: buildNumber: 137261 at timestamp: 1204813937453but I want to change the timestamp's format, configuration as below: <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>buildnumber-maven-plugin</artifactId> <executions> <execution> <phase>validate</phase> <goals> <goal>create</goal> </goals> </execution> </executions> <configuration> <format>{0,date,EEE MMM d HH:mm z yyyy}</format> <items> <item>timestamp</item> </items> </configuration> </plugin> but result is : buildNumber: Thu Mar 6 15:32 CET 2008 at timestamp: 1204813943453 not as my expect: buildNumber: 137261 at timestamp: Thu Mar 6 15:32 CET 2008 Why?
That's simply not supported. You can format "the build number" which is either the svn repository version or the timestamp. See http://jira.codehaus.org/browse/MOJO-988 and hope for the best that it ever will get applied ...
-dirk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
