[regression] Exclusions in project-level plugin dependencies are ignored
------------------------------------------------------------------------

                 Key: MNG-4196
                 URL: http://jira.codehaus.org/browse/MNG-4196
             Project: Maven 2
          Issue Type: Bug
          Components: Dependencies, Plugins and Lifecycle
    Affects Versions: 3.0-alpha-3
            Reporter: Benjamin Bentmann


For
{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.plugins.class-loader</groupId>
      <artifactId>dep-b</artifactId>
      <version>2.1-SNAPSHOT</version>
      <exclusions>
        <exclusion>
          <groupId>org.apache.maven.its.plugins.class-loader</groupId>
          <artifactId>dep-a</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</plugin>
{code}
the plugin class path still contains the transitive dependency {{dep-a}} 
despite the exclusion.

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