On 2 Oct 07, at 5:15 AM 2 Oct 07, Jerome Lacoste wrote:

On 10/2/07, Jason van Zyl <[EMAIL PROTECTED]> wrote:

On 1 Oct 07, at 11:02 PM 1 Oct 07, Jerome Lacoste wrote:

someone knows if this possible ?


Not possible.

Jason,

thanks for your answer.

I need to set the classpath accordingly to the phase the plugin is in.
Is my only solution to create a new mojo specifically for the test
phase, or to add a plugin parameter for the user to configure the
plugin with ?


You something really simple and provide a config parameter to the plugin. It's a hack but while setting the phase you want to execute in you can set the parameter on the mojo if you really need it.

Is there a feature planned to add this functionality or is it a design
decision to not let the plugin aware of the phase it is been executed
in ?

Jerome

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to