You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Bahaa Nasrallah <ba...@gmail.com> on 2005/11/11 13:39:16 UTC

[M1] Version Number in the generated site

Hi,
When generating the web site of the project, the version that would be shown
is the one specified in the project.xml file by the <currentVersion> tag.
The problem with this is that the version should be fixed statically before
the build is executed. Is there any way to retreive the version dynamically?
In my case i have a customized goal that retreives the old version and
increment it by 1 to have the new version of the current build.
Is there any way to set the currentVersion with that value dynamically?
 Thanks,
Bahaa