You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by GitBox <gi...@apache.org> on 2021/01/03 02:14:33 UTC

[GitHub] [maven-dependency-plugin] lars-sh commented on pull request #123: [MDEP-714] - Add analyze parameter "ignoreUnusedRuntime"

lars-sh commented on pull request #123:
URL: https://github.com/apache/maven-dependency-plugin/pull/123#issuecomment-753557091


   Indeed, `ignoreNonCompile` would suppress the unused runtime dependencies, but it would suppress e.g. unused `provided` scoped dependencies, too.
   
   Those are quite often expected to be referenced in class files, e.g. API dependencies or compile-time annotations, and unused dependencies of those kind shall be warned about, still.
   
   I use the analyze-only goal to make sure as good as possible, "all but only" directly used dependencies are referenced in POM.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org