How do display the svn version and the timestamp using build number plugin.
Currently I have the following
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>buildnumber-maven-plugin</artifactId>
<configuration>
<format>At {0,time} on {0,date} : SVN Revision {1,number}</format>
<items>
<item>timestamp</item>
<item>buildNumber</item>
</items>
<doCheck>false</doCheck>
<doUpdate>false</doUpdate>
</configuration>
</plugin>
</plugins>
Which shows up as follows: At 8:02:51 AM on Feb 2, 2011 : SVN Revision 1
But my svn revision is 1123. if I comment out the <format>
and <items>
I get the correct svn build number. How do I display both?
Thanks