You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "slachiewicz (via GitHub)" <gi...@apache.org> on 2026/10/06 22:09:54 UTC

Re: [I] [MDEP-891] Used undeclared dependencies found for class which is used by an indirect class [maven-dependency-plugin]

slachiewicz commented on issue #1391:
URL: https://github.com/apache/maven-dependency-plugin/issues/1391#issuecomment-6026365068

   Works as designed: a type that appears only as a method's return value is still a use, even without an import. The detection comes from maven-dependency-analyzer, so any further discussion belongs at https://github.com/apache/maven-dependency-analyzer. To silence the warning, add the dependency to `ignoredUsedUndeclaredDependencies`.


-- 
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: issues-unsubscribe@maven.apache.org

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