Skip to content

[MDEP-844] Go Offline doesn't honor exclusions. #1350

@jira-importer

Description

@jira-importer

John Patrick opened MDEP-844 and commented

Using the example below;

 

<dependencyMangement>
  <dependencies>
    <dependency>
      <groupId>org.apache.commons</groupId>
      <artifactId>commons-configuration2</artifactId>
      <version>2.8.0</version>
      <exclusions>
        <exclusion>
          <groupId>org.apache.commons</groupId>
          <artifactId>commons-vfs2</artifactId>
        </exclusion>
      </exclusions>
    </dependency>
  </dependencies>
</dependencyMangement>

 

When executing ./mvnw org.apache.maven.plugins:maven-dependency-plugin:3.5.0:go-offline -Dmaven.repo.local=new-dir.
I wouldn't expect commons-vfs2 to be attempted to be downloads or appear in new-dir.


Affects: 3.5.0

2 votes, 4 watchers

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpriority:majorMajor loss of function

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions