I think this is a minor bug. let's sum up the facts:
a.) if you start the mvn release:prepare in a certain directory, maven will _not_ automatically step out of this directory. b.) If the parent pom is outside of your <scm> url location, then it cannot get updated. I think the correct behaviour would be to fail with a 'cannot release with a SNAPSHOT dependency' exception in your case. You can easily work around this issue if you manually release the parent pom first. LieGrue, strub --- is_maximum <[email protected]> schrieb am Sa, 26.12.2009: > Von: is_maximum <[email protected]> > Betreff: release plugin doesnt update parent pom > An: [email protected] > Datum: Samstag, 26. Dezember 2009, 12:10 > > Hi > Consider a multi-module project with a root pom.xml and > this root pom has > another parent pom.xml which is considered as separated > project > > <parent> > > <groupId>com.foo.core</groupId> > > <artifactId>core-parent</artifactId> > > <version>0.0.2-SNAPSHOT</version> > </parent> > > when executing release:prepare however the command asks to > update this > parent dependency to 0.0.3-SNAPSHOT but in action no > changes I can see and > this parent pom version remains intact > > is this a bug or I missed something here? > > > ----- > -- > Regards > > Mohammad Norouzi > > Help each other to reach the future faster > > http://pixelshot.wordpress.com Pixelshot Photoblog > > http://brainable.blogspot.com Brainable Blog > > > -- > View this message in context: > http://old.nabble.com/release-plugin-doesnt-update-parent-pom-tp26926510p26926510.html > Sent from the Maven - Users mailing list archive at > Nabble.com. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > __________________________________________________ Do You Yahoo!? Sie sind Spam leid? Yahoo! Mail verfügt über einen herausragenden Schutz gegen Massenmails. http://mail.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
