maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tonté Pouncil <>
Subject How to use PluginContext() method of AbstractMojo or ContextEnabled for custom Mojos?
Date Fri, 08 Jun 2012 11:36:00 GMT

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.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message