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 homepage (jsp), there is text like
<b>version:</b> 2.3.3...
Is it possible, every time I do a new release, I only change the <version/> in pom.xml, and version number in jsp can be automatically filled by this maven ${project.version}?
I tried maven profile, however it doesn't seem to work.
any ideas?
Thank you.