maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jason van Zyl (JIRA)" <j...@codehaus.org>
Subject [jira] Updated: (MNG-3937) [regression] Goals inherited from parent are lost when merging with child execution
Date Mon, 05 Jan 2009 23:40:19 GMT

     [ 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

        

Mime
View raw message