Nikil1717 opened a new pull request, #13378:
URL: https://github.com/apache/maven/pull/13378

   ## Description
   
   Warn when a dependency exclusion does not match any dependency in the
   dependency tree.
   
   The check collects the dependency without applying its exclusions and
   uses the resulting dependency graph to determine whether the exclusion
   is actually needed.
   
   ## Tests
   
   Added an integration test covering both obsolete and valid dependency
   exclusions.
   
   Verified with:
   
   mvn -pl its/core-it-suite -Prun-its 
"-Dit.test=MavenITmng12428ObsoleteExclusionTest" verify
   
   Result: BUILD SUCCESS


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to