maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse" <emman...@venisse.net>
Subject Re: Problem with phase lifecycle
Date Wed, 02 Mar 2005 14:06:39 GMT

----- Original Message ----- 
From: "Brett Porter" <brett@apache.org>
To: "Maven 2 Developers List" <m2-dev@maven.apache.org>
Sent: Wednesday, March 02, 2005 2:52 PM
Subject: Re: Problem with phase lifecycle


> Did you declare
>
> @goal war-resources
> @phase process-resources
>
> and
>
> @goal webapp
> @phase process-classes
>
> in the mojos? That should work.

It's what I do. It don't work.

>
> I'm not sure war:webapp is process-classes - do you? I think it is
> "package", and war:war extends the mojo (rather than prereq'ing it like
> in m1).

Yes, I prefer to use package phase, but war:war use it too.
war:war extends the jar mojo for share some code.
I don't think I can add 2 goals in the same phase, and choose the execution
order.

>
> - Brett
>
> Emmanuel Venisse wrote:
>
> >Brett,
> >
> >I try to create tha war plugin. For it, I need to create 3 mojo that run
in
> >different phases :
> >
> >war:war-resources in process-resources
> >war:webapp in process-classes
> >war:war in package
> >
> >Only the war:war is handle by phase lifecycle. The two others is never
call.
> >Do you have an idea why I obtain this?
> >
> >Emmanuel
> >
> >
> >
> >
>
>


Mime
View raw message