[
https://issues.apache.org/jira/browse/MNG-4345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17728932#comment-17728932
]
Herve Boutemy commented on MNG-4345:
------------------------------------
[https://github.com/apache/maven/commit/c249a984084b4143ecfa64dfd26fecfbb199057c]
introducing internal priority field
[https://github.com/apache/maven/commit/53b7d5e805910bbe055696ba6b76a6560ef85839]
tracking the field when merging
> [regression] Plugin executions contributed by default lifecycle mapping
> execute after other plugin executions bound to the same phase
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: MNG-4345
> URL: https://issues.apache.org/jira/browse/MNG-4345
> Project: Maven
> Issue Type: Bug
> Components: Plugins and Lifecycle
> Affects Versions: 3.0-alpha-3
> Reporter: Benjamin Bentmann
> Assignee: Benjamin Bentmann
> Priority: Major
> Fix For: 3.0-alpha-3
>
>
> For the following snippet
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.its.plugins</groupId>
> <artifactId>maven-it-plugin-log-file</artifactId>
> <version>2.1-SNAPSHOT</version>
> <executions>
> <execution>
> <phase>process-resources</phase>
> <goals>
> <goal>log-string</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> <plugin>
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-resources-plugin</artifactId>
> <version>0.1-stub-SNAPSHOT</version>
> </plugin>
> {code}
> where both maven-it-plugin-log-file and maven-resources-plugin bind
> executions to the lifecycle phase "process-resources" and
> maven-resources-plugin is declared after maven-it-plugin-log-file with
> respect to POM order, trunk executes the goal {{log-string}} before
> {{resources}}, in contrast to Maven 2.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)