Heritier Arnaud wrote:

Hello Emmanuel,

        I don't think that you can do that.
        pom.currentVersion is directly retreived from the project description and I 
don't think that it is modifiable.


Arnaud,

it is possible to modify it through a direct call to the currentVersion setter :

  <ant:echo>${pom.currentVersion}</ant:echo>
  ${pom.setCurrentVersion("SNAPSHOT")}
  <ant:echo>${pom.currentVersion}</ant:echo>

===>

[echo] 1.0
[echo] SNAPSHOT

-- gd


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to