[
http://jira.codehaus.org/browse/MNG-3937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shane Isbell closed MNG-3937.
-----------------------------
Resolution: Fixed
Verified with unit tests and ITs.
> [regression] Goals inherited from parent are lost when merging with child
> execution
> -----------------------------------------------------------------------------------
>
> Key: MNG-3937
> URL: http://jira.codehaus.org/browse/MNG-3937
> Project: Maven 2
> Issue Type: Bug
> Components: Inheritance and Interpolation
> Affects Versions: 3.0-alpha-1
> Reporter: Benjamin Bentmann
> Assignee: Shane Isbell
> Priority: Minor
> Fix For: 3.0-alpha-2
>
>
> Parent POM snippet:
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.its.plugins</groupId>
> <artifactId>maven-it-plugin-a</artifactId>
> <executions>
> <execution>
> <goals>
> <goal>parent</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> {code}
> Child POM snippet:
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.its.plugins</groupId>
> <artifactId>maven-it-plugin-a</artifactId>
> <executions>
> <execution>
> <goals>
> <goal>child</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> {code}
> Effective child POM in Maven 2.x:
> {code:xml}
> <plugin>
> <groupId>org.apache.maven.its.plugins</groupId>
> <artifactId>maven-it-plugin-a</artifactId>
> <executions>
> <execution>
> <goals>
> <goal>child</goal>
> <goal>parent</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
> {code}
> i.e. both the goal from the child and the goal from the parent (in that
> order) will be executed. In Maven 3.x however, only the child's goal is
> present.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira