To my knowledge there is no way with the version of werkz we're using in
Maven (I don't know if werkz has support for this in another version or
whether it is planned).

I remember discussing this some time back in order to fully support a
AOP-like mechanism for goals (pre-goals, post-goals and around goals).

-Vincent

> -----Original Message-----
> From: Carlos Sanchez [mailto:[EMAIL PROTECTED]
> Sent: samedi 13 novembre 2004 20:45
> To: 'Maven Developers List'
> Subject: Overriding pugin goals in jelly
> 
> Hi,
> 
> Is there a way to override a plugin goal in the maven.xml and call the
> plugin goal with the same name?
> Something like the super call in Java.
> 
> Next code causes an infinite recursive call.
> In maven.xml:
> 
> <goal name="war:war">
> 
>   <!-- do something -->
> 
>   <!-- call the war:war goal in the war plugin -->
>   <attainGoal name="war:war"/>
> 
> </goal>
> 
> Regards
> 
> Carlos Sanchez
> A Coru�a, Spain
> http://www.jroller.com/page/carlossg
> 
> 
> ---------------------------------------------------------------------
> 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