Package org.apache.maven.plugin
Interface ContextEnabled
- All Known Implementing Classes:
AbstractMojo
public interface ContextEnabled
Interface to allow
The plugin manager would pull the context out of the plugin container context, and populate it into the Mojo.
Mojos to communicate with each others Mojos, 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.
- Author:
- jdcasey
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetPluginContext(Map pluginContext) Set a new shared contextMapto a mojo before executing it.
-
Method Details
-
setPluginContext
Set a new shared contextMapto a mojo before executing it.- Parameters:
pluginContext- a newMap
-
getPluginContext
Map getPluginContext()- Returns:
- a
Mapstored in the plugin container's context.
-