Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-4196

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

    XMLWordPrintableJSON

Details

    Description

      For

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

      the plugin class path still contains the transitive dependency dep-a despite the exclusion.

      Attachments

        Activity

          People

            bentmann Benjamin Bentmann
            bentmann Benjamin Bentmann
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: