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: [email protected]
