>> I use the maven-release-plugin, the two goals prepare and perform. >> But I don't want Maven generate the pom for the next iteration how >> can I do that ? I want simply to pass from the snapshots to the >> releases.
Take note of Craig's excellent points. The idea is for the release plugin to do everything necessary for your next release, which involves moving the POM up to a snapshot focusing on the next release. In the process it creates you a tag with release version numbers; release files should be considered immutable anyway (updating them requires a new version number).
If you need the files with the release version number, they are available on the tag - just copy from the tag, if for example you want to branch from there (mvn release:branch also works quite nicely for this but is not required).
If you want Maven to set the version numbers back the way they were before the release, just type in the existing SNAPSHOT version numbers when Maven asks you for the next development version. I do this when releasing from a branch so that the branch remains consistent with the version it was planned for. New changes go on another branch.
- John --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
