see native-maven-plugin at MOJO, you can find pluginContext usage there

-D

On Sat, Jun 9, 2012 at 1:52 PM, Aliaksei Lahachou
<[email protected]> wrote:
> Hi,
>
> have you tried to setPluginContext with a map that you instantiate yourself
> and see if it's available in mojo2?
>
>
> Regards,
> htfv (Aliaksei Lahachou)
>
>
> On Fri, Jun 8, 2012 at 1:36 PM, Tonté Pouncil
> <[email protected]>wrote:
>
>> Hello,
>>
>> I am trying to get two custom Mojos that I have created to communicate
>> with each other.  Mojo1 creates an object that I want to be available when
>> Mojo2 executes.  How do I do this?
>>
>> I've been trying to use
>> org.apache.maven.plugin.AbstractMojo#set/getPluginContext() method and
>> org.apache.mavin.plugin.ContextEnabled.  But so far the context is null.
>>
>> Thank you.
>>
>> Tonté
>> ---------------------------------------------------------------------
>> 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