[ http://jira.codehaus.org/browse/MNG-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=155875#action_155875 ]
Benjamin Bentmann commented on MNG-3866: ---------------------------------------- Another example parent POM snippet: {code:xml} <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.0-beta-7</version> <configuration> <goals>deploy</goals> </configuration> </plugin> </plugins> </build> {code} Child POM snippet: {code:xml} <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.0-beta-8</version> </plugin> </plugins> </build> {code} Effective child POM for Maven 2.0.9: {code:xml} <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.0-beta-8</version> <configuration> <goals>deploy</goals> </configuration> </plugin> </plugins> </build> {code} Effective child POM for Maven 3.x trunk: {code:xml} <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-release-plugin</artifactId> <version>2.0-beta-8</version> </plugin> </plugins> </build> {code} > 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