maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjamin Bentmann (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MNG-3906) Project-level plugin dependencies are in random order after merging
Date Sun, 14 Dec 2008 11:44:19 GMT
Project-level plugin dependencies are in random order after merging
-------------------------------------------------------------------

                 Key: MNG-3906
                 URL: http://jira.codehaus.org/browse/MNG-3906
             Project: Maven 2
          Issue Type: Bug
          Components: Class Loading, Plugins and Lifecycle
    Affects Versions: 2.1.0-M1, 2.0.9
            Reporter: Benjamin Bentmann
            Priority: Minor


Parent POM snippet:
{code:xml}
<plugin>
  <groupId>org.apache.maven.its.plugins</groupId>
  <artifactId>maven-it-plugin-class-loader</artifactId>
  <version>2.1-SNAPSHOT</version>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>e</artifactId>
      <version>0.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>a</artifactId>
      <version>0.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>d</artifactId>
      <version>0.1</version>
    </dependency>
  </dependencies>
</plugin>
{code}
Child POM snippet:
{code:xml}
<plugin>
  <groupId>org.apache.maven.its.plugins</groupId>
  <artifactId>maven-it-plugin-class-loader</artifactId>
  <version>2.1-SNAPSHOT</version>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>c</artifactId>
      <version>0.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>a</artifactId>
      <version>0.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>b</artifactId>
      <version>0.1</version>
    </dependency>
  </dependencies>
</plugin>
{code}
Effective child POM:
{code:xml}
<plugin>
  <groupId>org.apache.maven.its.plugins</groupId>
  <artifactId>maven-it-plugin-class-loader</artifactId>
  <version>2.1-SNAPSHOT</version>
  <dependencies>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>e</artifactId>
      <version>0.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>a</artifactId>
      <version>0.2</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>d</artifactId>
      <version>0.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>c</artifactId>
      <version>0.1</version>
    </dependency>
    <dependency>
      <groupId>org.apache.maven.its.mng3906</groupId>
      <artifactId>b</artifactId>
      <version>0.1</version>
    </dependency>
  </dependencies>
</plugin>
{code}

This should be synced with the handling of ordinary project dependencies, i.e.
# plugin dependencies of child POM first (in POM order)
# plugin dependencies of parent POM last (in POM order)

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

        

Mime
View raw message