Details
-
Task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
The existence of plugin configuration needs to pre-initialise plugins and activate the necessary lifecycle elements.
- specifying a plugins element in the POM will load all mojos in the plugin and add them to phases they specify using @phase (one in all in, even if specific goals are configured for the plugin)
- plugin elements in the pom are inherited: for this reason, the super POM must not specify defaults for some plugins as they will always be loaded - defaults for mojos can be specified in the mojo descriptor
- need to be able to override inheritence:
<plugin>
<id>test</id>
<disabled>true</disabled>
</plugin>
(possibly likewise for goal)
Attachments
Issue Links
- depends upon
-
MNG-153 allow goals to be added to the lifecycle
- Closed