Package org.apache.maven.plugin
Interface ContextEnabled
-
- All Known Implementing Classes:
AbstractMojo
public interface ContextEnabled
Interface to allowMojos
to communicate with each othersMojos
, other than project's source root and project's attachment.
The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map
getPluginContext()
void
setPluginContext(java.util.Map pluginContext)
Set a new shared contextMap
to a mojo before executing it.
-