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