Inheritance does not merge extensions with same gid and aid
-----------------------------------------------------------

                 Key: MNG-3899
                 URL: http://jira.codehaus.org/browse/MNG-3899
             Project: Maven 2
          Issue Type: Bug
          Components: Inheritance and Interpolation
    Affects Versions: 2.1.0-M1, 2.0.9
            Reporter: Benjamin Bentmann
            Priority: Minor


Parent POM snippet:
{code:xml}
<extensions>
  <extension>
    <groupId>org.apache.maven.wagon</groupId>
    <artifactId>wagon-webdav</artifactId>
    <version>1.0-beta-1</version>
  </extension>
</extensions>
{code}
Child POM snippet:
{code:xml}
<extensions>
  <extension>
    <groupId>org.apache.maven.wagon</groupId>
    <artifactId>wagon-webdav</artifactId>
    <version>1.0-beta-2</version>
  </extension>
</extensions>
{code}
Effective child POM:
{code:xml}
<extensions>
  <extension>
    <groupId>org.apache.maven.wagon</groupId>
    <artifactId>wagon-webdav</artifactId>
    <version>1.0-beta-2</version>
  </extension>
  <extension>
    <groupId>org.apache.maven.wagon</groupId>
    <artifactId>wagon-webdav</artifactId>
    <version>1.0-beta-1</version>
  </extension>
</extensions>
{code}
i.e. there is no conflict resolution and both versions of the extension are 
loaded.

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