Seva Popov created MDEP-927:
-------------------------------

             Summary: dependency:tree excludes parameter does not work
                 Key: MDEP-927
                 URL: https://issues.apache.org/jira/browse/MDEP-927
             Project: Maven Dependency Plugin
          Issue Type: Bug
          Components: tree
    Affects Versions: 3.6.1
            Reporter: Seva Popov


The dependency:tree excludes parameter does not work in any plugin version 
available for download.

Ex.:

mvn org.apache.maven.plugins:maven-dependency-plugin:3.6.1:tree -s 
~/.m2/settings.xml -Dexcludes=javax:javaee-api:jar:8.0.1  | grep javax.javaee

[INFO] +- javax:javaee-api:jar:8.0.1:provided

According to the documentation the dependency should have been excluded - 
https://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html#excludes



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to