Hi,
Can't you generate your new build number and set it using maven:set tag [1] ?
<pregoal name="xdoc:init">
<maven:set plugin="maven-xdoc-plugin" property="maven.xdoc.version"
value="${your_custom_build_number}"/>
</pregoal>
Arnaud
[1] http://maven.apache.org/maven-1.x/tags.html#maven:set
> -----Message d'origine-----
> De : Bahaa Nasrallah [mailto:[EMAIL PROTECTED]
> Envoyé : mercredi 9 novembre 2005 12:27
> À : [email protected]
> Objet : Version number on the generated web [M1]
>
> 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 anyway to set the currentVerion with that value dynamically?
> Thanks,
> Bahaa
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]