/**
* @parameter expression="${phase}"
* @required
*/
private Object phase;
Would this work I wonder? Something along those lines.
On 12/1/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]
>
>