You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2016/03/07 17:09:40 UTC
[jira] [Commented] (MNG-4345) [regression] Plugin executions
contributed by default lifecycle mapping execute after other plugin
executions bound to the same phase
[ https://issues.apache.org/jira/browse/MNG-4345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15183194#comment-15183194 ]
Hudson commented on MNG-4345:
-----------------------------
SUCCESS: Integrated in maven-3.x #1253 (See [https://builds.apache.org/job/maven-3.x/1253/])
[MNG-4345] [regression] Plugin executions contributed by default (schulte: rev ceba686009cd21568e002f5a9ebb130c21bf0453)
* maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java
* maven-model/src/main/mdo/maven.mdo
[MNG-4345] [regression] Plugin executions contributed by default (schulte: rev 39c25cea76063c0e345f78a447fd71d06369bdf8)
* maven-model/src/main/mdo/maven.mdo
* maven-core/src/main/java/org/apache/maven/model/plugin/DefaultLifecycleBindingsInjector.java
> [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
> 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
(v6.3.4#6332)