On 5/8/06, Craig McClanahan <[EMAIL PROTECTED]> wrote:
I notice that, when a release manager is cutting a new release, she or he has to update the <version> element of all the dependent pom.xml files (in the recent case, from 1.3.3-SNAPSHOT to 1.3.3, and then from 1.3.3 to 1.3.4-SNAPSHOT). Since these poms all inherit from a parent pom that has the version number in it, is it possible to use ${pom.version} in all the child poms as well, to avoid having to change this in more than one place?
The part that has to be changed in the child poms is the reference to the parent. Maven will actually do this automatically with 'mvn release:prepare' and 'mvn release:perform'. (It removes -SNAPSHOT, commits the changes, tags the repository, deploys the build and then switches to the next version and commits again.) We're waiting for the next version of the release plugin because the current one completely rearranges the poms and removes all the comments. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]