Hello all, We also want to build a --project-list with a aggregator pom, so all the modules of that pom are getting build. In the mean time, we also want the dependencies of those module to build. (So, --also-make). Only we can't get this to run. Is there anyone who can help with this?
We were thinking of a Bash or Groovy script to parse the aggregator pom to build up the --project-list argument. Does anyone see an easier way? With regards, Nick Stolwijk ~~~ Try to leave this world a little better than you found it and, when your turn comes to die, you can die happy in feeling that at any rate you have not wasted your time but have done your best ~~~ Lord Baden-Powell On Tue, May 7, 2013 at 2:39 AM, spoots <[email protected]> wrote: > Thanks for the reply, again :) > > I don't think "-amd" covers my need though. Because there's no parent/child > relationship between the modules/sub-modules there's no dependency between > them. It feels to me like there's an option missing for the reactor here... > > A simpler example for clarity: > > <a> > <b> > <c /> > <d /> > <e /> > </b> > <f /> > <g /> > </a> > > Each node is a project, and sub-projects are nested. For dependencies, say > only that "c depends on f". There are no parent-child relationships. > > If I want to build <b> with all its sub-modules (<c> <d> > <e>) and dependencies (<f>), can I do that? The only options I > see are: > 1 - change to b directory, then "mvn install" > 2 - from top level, "mvn install -pl a/b -amd" > 3 - from top level, "mvn install -pl a/b/c,a/b/d,a/b/e -amd" > > Option 1 builds the sub-modules I want, but doesn't build the dependency > <f>. > Option 2 only builds the project <b>, none of it's sub-modules > because > they are not dependents. > Option 3 works, but it's no good because I need to know & provide all the > sub-modules of <b>. > > Ideally there'd be an option like "-ams" (also make sub-modules) which I > could use in option 2, but I can't see any way to do it? > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/Building-selected-projects-with-nested-aggregators-tp5753572p5755076.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] > >
