You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Boris Unckel (Jira)" <ji...@apache.org> on 2021/01/05 20:39:00 UTC
[jira] [Created] (MRESOLVER-156) Active dependency management for
Google Guice / Google Guava
Boris Unckel created MRESOLVER-156:
--------------------------------------
Summary: Active dependency management for Google Guice / Google Guava
Key: MRESOLVER-156
URL: https://issues.apache.org/jira/browse/MRESOLVER-156
Project: Maven Resolver
Issue Type: Improvement
Components: Resolver
Reporter: Boris Unckel
The current pom includes com.google.inject:guice with the default transitive dependency of com.google.guava:guava. Guava has declared several dependencies, which are not needed at runtime. Onyl com.google.guava:failureaccess is needed.
The proposal is first to add com.google.guava:guava to the excludes of guice. Second guava and failureaccess shall be added as direct dependencies.
This has two advantages: Downstream projects only get the needed dependencies and the version of guava can be independently set.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)