John Patrick created MDEP-844:
---------------------------------
Summary: Go Offline doesn't honor exclusions.
Key: MDEP-844
URL: https://issues.apache.org/jira/browse/MDEP-844
Project: Maven Dependency Plugin
Issue Type: Bug
Affects Versions: 3.5.0
Environment: Linux and Mac
Reporter: John Patrick
Using the example below;
{code:java}
<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>{code}
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`.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)