The only thing I can tell you is that a plugin can fork a new
lifecycle and it seems to be what you are trying to do. But I don't
really know how it's work, some developpers might help you here. Take
a look at the section Forking a Parallel Lifecycle in this document
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html.

Hope it's help!

On 2/21/06, Prasad Kashyap <[EMAIL PROTECTED]> wrote:
> I have a multi-module build here under a top level pom whose
> <packaging> is set to "pom". In the same m2 build lifecycle, I would
> like to execute some goals only at the parent, then execute all the
> children poms and then come back up to the parent to finish off the
> build.
>
> This currently doesn't seem to be possible. Even in a multi-module
> build, for most parts, even the parent is treated as yet another
> independent project. The parent goes thro' all of its lifecycle phases
> and only then each of the children poms are executed.
>
> 1) Is there a way for me to make my build come back up to the parent
> and execute some finish off goals ?
>
> 2) If there isn't, wouldn't it be nice if atleast the parent pom had 2
> special phases that would be executed before and after all the
> children poms are executed ?
>
> Cheers
> Prasad
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Alexandre Poitras
Québec, Canada

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to