More than just cool.. This makes the version-maven-plugin even more awesome (once I get the xml rewriting implemented correctly)...
So with the -r option, all I do is: 1. check out all the modules I want into one directory 2. in that directory do mvn -r versions:update-parent version:sync-intrareactor-dependencies* And now all the pom.xml files will use the latest parent version available and if they depend on any version of a dependency thats in the reactor, they will be using the version from the reactor! Frickin' cool * I have yet to write this goal, but it's on my todo list On Thu, Aug 14, 2008 at 8:41 AM, Milos Kleint <[EMAIL PROTECTED]> wrote: > Cool, thanks. > It assumes a common directory root, but better than nothing.. > > Milos > > On Thu, Aug 14, 2008 at 9:35 AM, Brett Porter <[EMAIL PROTECTED]> > wrote: > > mvn -r > -Dmaven.reactor.includes=maven-eclipse-plugin/pom.xml,maven-idea-plugin/pom.xml > > clean install > > > > (the default value of includes is **/pom.xml) > > > > Cheers, > > Brett > > > > 2008/8/14 Milos Kleint <[EMAIL PROTECTED]>: > >> on a related note, is there a way to give maven a list of project > >> directories/poms and let it build the stuff together? > >> > >> Milos > >> > >> Brett Porter wrote: > >>> > >>> It finds all the POMs in the subdirectories and runs a reactor based on > >>> them. > >>> > >>> 2008/8/14 Dan Fabulich <[EMAIL PROTECTED]>: > >>> > >>>> > >>>> What does "--reactor" do on the mvn command line? The --help doc just > >>>> says > >>>> "Execute goals for project found in the reactor" which doesn't make > much > >>>> sense to me. > >>>> > >>>> -Dan > >>>> > >>>> --------------------------------------------------------------------- > >>>> To unsubscribe, e-mail: [EMAIL PROTECTED] > >>>> For additional commands, e-mail: [EMAIL PROTECTED] > >>>> > >>>> > >>>> > >>> > >>> > >>> > >>> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > > > -- > > Brett Porter > > Blog: http://blogs.exist.com/bporter/ > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
