You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Christian Schulte (JIRA)" <ji...@apache.org> on 2016/06/28 18:33:57 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=15353501#comment-15353501 ] 

Christian Schulte commented on MNG-5987:
----------------------------------------

Would it be ok to order plugin executions based on the execution id? Could this be done in 3.4? It will change the order of plugin executions but people get a chance to use the execution id to declare the order of executions manually.

{code}
java.text.Collator.getInstance( java.util.Locale.US ).compare( executionId1, executionId2 );
{code}


> 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)