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

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

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment