I see.  So suppose there is a plugin goal named world:destroy and I only
want to run it if the property evil.dictator is set.  How would I do this?
I don't want it to be an error if someone tries to run it without said
property; I just want to silently do nothing.  On the other hand, if that
property is set, then I would like to run the plugin goal.

>From where I sit this seems to be impossible.

Thanks,
Laird

On 2/7/06, Jörg Schaible <[EMAIL PROTECTED]> wrote:
>
> 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 <[EMAIL PROTECTED]> 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: [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