Java Mailing List Archive

http://www.java2.5341.com/

Home » issues.maven »

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

Jan Bartel (JIRA)

2008-11-23

Replies: Find Java Web Hosting

Author LoginPost Reply
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


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

   
©2008 java2.5341.com - Jax Systems, LLC, U.S.A.