Not currently. To do this, we usually have two mojos, with different
parameters, bound to each. They can extend a base mojo so that almost
all of the functionality is the same (see the compiler/testCompile
goals).

- Brett

On 12/2/05, Anuerin Diaz <[EMAIL PROTECTED]> wrote:
> hi,
>
>   is there a way for plugin goals to be aware of the phase they are
> being executed on? we have a source generator plugin that is used
> during compile and test phases so it needs to distinguish which source
> root should be the recipient of the generated sources. it is easy to
> just add another configuration but it would be a more elegant solution
> to let the plugin decide which source root to modify according to its
> current phase.
>
>    thanks.
>
> ciao!
>
> --
>
> "Programming, an artform that fights back"
>
> Anuerin G. Diaz
> Registered Linux User #246176
> Friendly Linux Board @ http://mandrivausers.org/index.php
> http://capsule.ramfree17.org , when you absolutely have nothing else
> better to do
>
> ---------------------------------------------------------------------
> 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