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

Slawomir Jaranowski commented on MDEP-970:
------------------------------------------

for me is working ...
{code:java}
[INFO] --- dependency:3.8.1:analyze-exclusions (default-cli) @ .... ---
[WARNING] ... defines following unnecessary excludes
[WARNING]     org.jetbrains:annotations:23.1.0
[WARNING]         - foo:bar @ line: 237
{code}
[~jbochenski] can you provide a reproduce simple project?

> 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