I\'d like to put revision number on main page of webapp, how can i do that using maven?
P.S. Its two part question, how to get revision number and how to write it in
If you are using subversion, you can use this plugin to make the SVN revision number available as a maven property
http://code.google.com/p/maven-svn-revision-number-plugin/
I combine this with jar plugin to add the SVN revision to the MANIFEST.MF file for our jar's and war's.