The plugin is multiproject.

I suppose you have a directory structure like this :

projects_dir
    | -> project A
    | -> project B

if you run in projects : maven -Dgoal=clean,jar:install multiproject:goal
All your project are build in correct order.

Emmanuel

----- Original Message ----- 
From: "Christoph Kiehl" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, February 11, 2004 10:26 AM
Subject: Automatically build dependet projects?


> Hi,
>
> I'm currently trying to integrate maven in our build process. One goal I
> would like to achieve is the following:
>
> There are two projects A and B. B depends on A. So if I build B I would
like
> maven to build A first install the jar in the local repo and then build B
> with the new jar. Is there some functionality like this already available
in
> maven? I already searched the plugin list but could not find a suitable
one.
> Or is it perhaps more efficient to not build A every time B builds, but to
> install As jar manually? How do you handle such dependent projects?
>
> Thanks in advance,
> Christoph
>
>
>
>
> ---------------------------------------------------------------------
> 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]

Reply via email to