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

[regression] Dependency exclusions are not applied transitively

    XMLWordPrintableJSON

Details

    Description

      For something like

      <dependencies>
        <dependency>
          <groupId>org.codehaus.plexus</groupId>
          <artifactId>plexus-container-default</artifactId>
          <scope>provided</scope>
          <version>1.0-beta-3.0.5</version>
          <exclusions>
            <exclusion>
              <groupId>commons-logging</groupId>
              <artifactId>commons-logging-api</artifactId>
            </exclusion>
          </exclusions>
        </dependency>
      </dependencies>
      

      the commons-logging-api is still present because the exclusion is not propagated to the dependency that actually depends on commons-logging.

      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: