Details
-
Type:
Improvement
-
Status:
Reopened
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 2.0-beta-1
-
Fix Version/s: Issues to be reviewed for 3.x
-
Component/s: Plugin API
-
Labels:None
-
Complexity:Intermediate
Description
Plugins that need to introspect other plugin's configuration have to go via the Xpp3Dom configuration object. It'd be nice if this was easier for plugin authors. Some current use-cases are:
- Eclipse plugin requires compiler plugin's configuration to write .settings file
- Tomcat plugin requires war plugin's configuration to locate final war file and exploded state
How much of this can be handled by POM-level properties? I'm not wild about providing a direct line of communications between any two plugins, since that could easily establish a de facto dependency between them. Mediating through the POM seems like a good idea, if it's feasible.