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
Provided you have the svn command line application, you can use the following code - we use it in our projects (slightly altered)
maven-antrun-plugin generate-resources run maven-war-plugin ${project.build.directory}/generated-web-resources/svn **/_svn/**