maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christian Schulte (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MNG-5987) Document the algorithm calculating the order of plugin executions.
Date Thu, 03 Mar 2016 21:09:18 GMT

    [ https://issues.apache.org/jira/browse/MNG-5987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15178628#comment-15178628
] 

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

We discussed this a bit on dev@. See [http://www.mail-archive.com/dev@maven.apache.org/msg108718.html].
We'll need further analysis to get to a final solution. Documenting the current behaviour
is a starting point and already may uncover inconsistencies/bugs to fix in 3.4. Let's use
this issue to gather related information at a central point. I'll write up some descriptions
of the various merging strategies currently performed by Maven as much as possible so we have
something to talk about. I think the model will need to be enhanced in 4.x so that all kinds
of ordering issues (not just plugin executions) can be declared explicity and not depend on
XML parser implementation details.


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

Mime
View raw message