You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hervé Boutemy (JIRA)" <ji...@apache.org> on 2016/07/02 06:43:11 UTC
[jira] [Commented] (MNG-5987) Document the algorithm calculating
the order of plugin executions.
[ https://issues.apache.org/jira/browse/MNG-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15360031#comment-15360031 ]
Hervé Boutemy commented on MNG-5987:
------------------------------------
bq. Order of declaration is really unreliable and complicated to understand when it comes to profiles and parents, and I'm not sure was ever really well-defined (or at least well-documented)
it was documented and chosen that order of execution is not something you can count on: phases are ordered, mojos in a phase simply are not
and we never pushed this to making it random, whouch would have been one way to make people understand that order of executionin a phase is not expected to be controlled: that is the design (that so much people don't want to understand when we explain them again and again)
> Document the algorithm calculating the order of plugin executions.
> ------------------------------------------------------------------
>
> Key: MNG-5987
> URL: https://issues.apache.org/jira/browse/MNG-5987
> Project: Maven
> Issue Type: Improvement
> Reporter: Christian Schulte
> Priority: Critical
>
> 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.
> 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,
> etc.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)