I am working on a java web application, managed by maven2. From time to time, we did some changes, and want to do new releases, of course with new version number. In the hom
I would hand the .jsp the value of
String version = getClass().getPackage().getImplementationVersion();
that would look like 1.0.0-SNAPSHOT for instance.
If you are just getting nulls, you may need to add the classpath to the Manifest of the war with
org.apache.maven.plugins
maven-war-plugin
2.5
true
for the classloader to pick it up.