You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Brett Porter (JIRA)" <ji...@codehaus.org> on 2008/12/22 21:55:19 UTC
[jira] Updated: (MNG-3937) [regression] Goals inherited from parent
are lost when merging with child execution
[ http://jira.codehaus.org/browse/MNG-3937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Brett Porter updated MNG-3937:
------------------------------
Fix Version/s: 3.0-alpha-3
> [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
> Priority: Minor
> Fix For: 3.0-alpha-3
>
>
> 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