[ 
http://jira.codehaus.org/browse/MNG-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=160370#action_160370
 ] 

Shane Isbell commented on MNG-3866:
-----------------------------------

3.x behavior seems correct to me. If there are different versions of plugins, 
it is a bit dangerous to start mixing the plugin configurations.

> [regression] 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
>            Assignee: Shane Isbell
>             Fix For: 3.0-alpha-2
>
>         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

        

Reply via email to