You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (Jira)" <ji...@apache.org> on 2021/02/01 20:42:00 UTC
[jira] [Updated] (MRESOLVER-156) Active dependency management for
Google Guice / Google Guava
[ https://issues.apache.org/jira/browse/MRESOLVER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Osipov updated MRESOLVER-156:
-------------------------------------
Fix Version/s: 1.7.0
> 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
> Assignee: Michael Osipov
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.7.0
>
>
> 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.
> The runtime dependencies for Guava are explained in the last section of the [README|https://github.com/google/guava/tree/v30.1] "Important Warnings" #3
--
This message was sent by Atlassian Jira
(v8.3.4#803005)