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:59:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17259206#comment-17259206 ] 

Boris Unckel commented on MRESOLVER-156:
----------------------------------------

PR https://github.com/apache/maven-resolver/pull/86


> 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
>            Priority: Major
>
> 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)