List Info

Thread: overriding goal




overriding goal
user name
2006-02-07 07:26:49
Hi Laird,

Laird Nelson wrote on Tuesday, February 07, 2006 5:23 AM:

> Leaping in: if you can override a plugin goal, can you
call "super"? 
> That is, I'd like my goal override to prevent execution
of the "real"
> goal in some circumstances.  What's the best way to go
about this?

No. In that case you have to add your functionality to
preGoal/postGoal.

- Jörg

> 
> Thanks,
> Laird
> 
> On 1/13/06, Jörg Schaible <Joerg.Schaibleelsag-solutions.com> wrote:
>> 
>> Kristof Vanbecelaere wrote on Friday, January 13,
2006 2:27 PM:
>> 
>>> Hi,
>>> 
>>> is it correct that in 1.0.2 one can only
override project goals but
>>> not plugin goals?
>> 
>> No, you can also override plugin goals.
>> 
>> - Jörg
>> 
>> 
>
------------------------------------------------------------
---------
>> To unsubscribe, e-mail: users-unsubscribemaven.apache.org
>> For additional commands, e-mail: users-helpmaven.apache.org

------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribemaven.apache.org
For additional commands, e-mail: users-helpmaven.apache.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )