Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Incomplete
-
2.0.4
-
None
-
None
Description
In some cases, a mojo should be suppressed from the build process. If this mojo binding comes from a parent POM or a lifecycle mapping, it's not possible to simply comment out that mojo binding. Currently this sort of functionality is left to the individual plugins to implement as parameters that cause each mojo to bow out. This use case is common enough in large development environments (for addressing the 80% with no customization, but allowing the remaining 20% the control to use the same parent POM with subtractions) to warrant a built-in suppression/disabling functionality.
Suppression should be available by plugin or by plugin-execution. To suppress bindings from the packaging-mapping, the default executionId 'default' can be used.
Attachments
Issue Links
- is duplicated by
-
MNG-3635 Provide a simple way to disable execution of an inherited plugin in child POM
- Closed