maven-m2-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Brett Porter <br...@apache.org>
Subject Re: Problem with phase lifecycle
Date Wed, 02 Mar 2005 13:52:02 GMT
Did you declare

@goal war-resources
@phase process-resources

and

@goal webapp
@phase process-classes

in the mojos? That should 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).

- 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