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/11/30 00:23:20 UTC

[jira] Updated: (MNG-3866) Plugin definitions from child and parent are not merged when version differs

     [ http://jira.codehaus.org/browse/MNG-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Bentmann updated MNG-3866:
-----------------------------------

    Attachment: plugin-model-container.patch

Proposed patch, using a dedicated PluginModelContainer.

> Plugin definitions from child and parent are not merged when version differs
> ----------------------------------------------------------------------------
>
>                 Key: MNG-3866
>                 URL: http://jira.codehaus.org/browse/MNG-3866
>             Project: Maven 2
>          Issue Type: Bug
>          Components: Inheritance and Interpolation
>    Affects Versions: 3.0-alpha-1
>            Reporter: Benjamin Bentmann
>         Attachments: plugin-model-container.patch
>
>
> Parent POM snippet
> {code:xml}
> <plugins>
>   <plugin>
>     <groupId>org.apache.maven.its.plugins</groupId>
>     <artifactId>maven-it-plugin-configuration</artifactId>
>     <!-- Note missing version element -->
>     <configuration>
>       <stringParam>PASSED</stringParam>
>     </configuration>
>   </plugin>
> </plugins>
> {code}
> Child POM snippet:
> {code:xml}
> <plugins>
>   <plugin>
>     <groupId>org.apache.maven.its.plugins</groupId>
>     <artifactId>maven-it-plugin-configuration</artifactId>
>     <version>2.1-SNAPSHOT</version>
>   </plugin>
> </plugins>
> {code}
> Effective child POM:
> {code:xml}
> <plugins>
>   <plugin>
>     <groupId>org.apache.maven.its.plugins</groupId>
>     <artifactId>maven-it-plugin-configuration</artifactId>
>     <version>2.1-SNAPSHOT</version>
>   </plugin>
> </plugins>
> {code}
> i.e. the configuration from the parent POM is completely lost.

-- 
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