You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by lgestrin <lg...@markettools.com> on 2006/09/20 21:11:43 UTC

how does maven know in which order to build modules?

Hello,
if i have 5 modules defined (mod1-mod5), and
mod3 depends on mod4 depends on mod 5
mvn knows the right order in which it has to be build them (mod5, mod4,
mod3).
i want to try to leverage same mechanism when deploying snapshots. for
example, deployment of mod4 should trigger eployment of mod3 but not mod5; 
any alternative solution is welcome (short of redeploying everyting
everytime there is a change from the root)
thanks
Leonard
-- 
View this message in context: http://www.nabble.com/how-does-maven-know-in-which-order-to-build-modules--tf2307455.html#a6414587
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: how does maven know in which order to build modules?

Posted by Doug Douglass <do...@gmail.com>.
Cruise control has such a feature via the maven2snapshotdependency
modificationset plugin -- very handy, although it requires more
configuration and can cause more builds to run than doing a single maven
multi-project build across the same set of projects.

It will be nice to compare Continuums behavior when htis feature is
released.

Doug


On 9/20/06, dan tran <da...@gmail.com> wrote:
>
> Please check the archive, there are some talks about getting Continuum to
> do
> that for you but not Maven command line.
>
> -D
>
>
> On 9/20/06, lgestrin <lg...@markettools.com> wrote:
> >
> >
> > Hello,
> > if i have 5 modules defined (mod1-mod5), and
> > mod3 depends on mod4 depends on mod 5
> > mvn knows the right order in which it has to be build them (mod5, mod4,
> > mod3).
> > i want to try to leverage same mechanism when deploying snapshots. for
> > example, deployment of mod4 should trigger eployment of mod3 but not
> mod5;
> > any alternative solution is welcome (short of redeploying everyting
> > everytime there is a change from the root)
> > thanks
> > Leonard
> > --
> > View this message in context:
> >
> http://www.nabble.com/how-does-maven-know-in-which-order-to-build-modules--tf2307455.html#a6414587
> > Sent from the Maven - Users mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>

Re: how does maven know in which order to build modules?

Posted by dan tran <da...@gmail.com>.
Please check the archive, there are some talks about getting Continuum to do
that for you but not Maven command line.

-D


On 9/20/06, lgestrin <lg...@markettools.com> wrote:
>
>
> Hello,
> if i have 5 modules defined (mod1-mod5), and
> mod3 depends on mod4 depends on mod 5
> mvn knows the right order in which it has to be build them (mod5, mod4,
> mod3).
> i want to try to leverage same mechanism when deploying snapshots. for
> example, deployment of mod4 should trigger eployment of mod3 but not mod5;
> any alternative solution is welcome (short of redeploying everyting
> everytime there is a change from the root)
> thanks
> Leonard
> --
> View this message in context:
> http://www.nabble.com/how-does-maven-know-in-which-order-to-build-modules--tf2307455.html#a6414587
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>