Details
-
Task
-
Status: Closed
-
Critical
-
Resolution: Fixed
-
None
-
None
Description
Users continuously report issues regarding the order of plugin executions: repeating that "this order is not expected to be guaranteed inside a phase" is not convincing for them. (notice that perhaps telling that it cannot be guaranteed nor really controlled may be more convincing...)
The algorithm used to calculate the order of executions performed by Maven needs to be documented:
- declaration order in the POM
- inheritance merging from parent POM,
- merging of profiles and other plugin containers,
- the order of executions of multiple executions in the same lifecycle phase,
- the sorting by plugin that happens when multiple goals are defined for the same plugin,
etc.
based on Model Building https://maven.apache.org/ref/current/maven-model-builder/ ...
Attachments
Issue Links
- is related to
-
MNG-6295 Inherited plugins are not properly ordered after merging with profile plugins in some special cases
- Open
-
MNG-4345 [regression] Plugin executions contributed by default lifecycle mapping execute after other plugin executions bound to the same phase
- Closed
-
MNG-6051 Different plugins' executions aren't sorted between them
- Closed
-
MNG-5994 add explicit ordering support for plugins
- Closed
-
MNG-7804 Add flexible goal ordering in phase
- Closed
-
OAK-10032 get rid of ant-run plugin dependency
- Closed
- relates to
-
MNG-3719 [regression] plugin execution ordering no longer POM ordered in 2.0.9
- Closed
-
MNG-3925 [regression] Wrong order of plugin executions after merge with executions inherted from parent
- Closed
-
MNG-4975 [regression] plugin executions injected from profile run before instead of after existing executions in the POM
- Closed
-
MNG-3522 Cannot define Mojo execution order explicitly
- Closed
- supercedes
-
MNG-5478 Order of plugin execution does not match order of definition in profile
- Closed
-
MNG-5799 Incorrect execution order of plugins in the same phase
- Closed
-
MNG-5539 Profile plugin execution order is not preserved when merging into default PluginContainer
- Closed
- Wiki Page
-
Wiki Page Loading...