[ 
https://issues.apache.org/jira/browse/MDEP-970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17906518#comment-17906518
 ] 

Tamas Cservenak commented on MDEP-970:
--------------------------------------

FYI, same can be achieve with:
{noformat}
$ mvn eu.maveniverse.maven.plugins:toolbox:check-exclusions
...
[INFO] --- toolbox:0.6.1:check-exclusions (default-cli) @ test ---
[INFO] Checking dependency org.jetbrains:annotations:jar:23.1.0 (compile) 
exclusion foo:bar:*:* paths
[INFO] Is unused
...
$
{noformat}

> dependency:analyze-exclusions does not report uneeded exclusions
> ----------------------------------------------------------------
>
>                 Key: MDEP-970
>                 URL: https://issues.apache.org/jira/browse/MDEP-970
>             Project: Maven Dependency Plugin
>          Issue Type: Bug
>            Reporter: Jakub Bochenski
>            Priority: Major
>
> Apache Maven 3.9.9 
> dependency:3.8.1
> ```  
>           <dependency>
>                 <groupId>org.jetbrains</groupId>
>                 <artifactId>annotations</artifactId>
>                 <version>23.1.0</version>
>                 <exclusions>
>                     <exclusion>
>                         <groupId>foo</groupId>
>                         <artifactId>bar</artifactId>
>                     </exclusion>
>                 </exclusions>
>             </dependency>
> ```
> This is not reported - neither in  dependencies nor in dependencyManagement



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

Reply via email to