You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Hudson (Jira)" <ji...@apache.org> on 2021/02/05 04:00:01 UTC
[jira] [Commented] (MRESOLVER-156) Active dependency management for
Google Guice/Guava
[ https://issues.apache.org/jira/browse/MRESOLVER-156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17279311#comment-17279311 ]
Hudson commented on MRESOLVER-156:
----------------------------------
Build succeeded in Jenkins: Maven » Maven TLP » maven-resolver » master #49
See https://ci-builds.apache.org/job/Maven/job/maven-box/job/maven-resolver/job/master/49/
> Active dependency management for Google Guice/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)