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 2019/01/07 14:27:00 UTC

[jira] [Commented] (MNG-6549) Remove unused inherited dependencies of Guava

    [ https://issues.apache.org/jira/browse/MNG-6549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16735878#comment-16735878 ] 

Michael Osipov commented on MNG-6549:
-------------------------------------

I am bit confused here. We remove Guava because we don't need it directly, granted. Why exclude it when Guice requires it?

> Remove unused inherited dependencies of Guava
> ---------------------------------------------
>
>                 Key: MNG-6549
>                 URL: https://issues.apache.org/jira/browse/MNG-6549
>             Project: Maven
>          Issue Type: Dependency upgrade
>          Components: Dependencies
>            Reporter: Sylwester Lachiewicz
>            Priority: Minor
>             Fix For: 3.6.x-candidate
>
>
> With MNG-6475 we excluded explicit dependency to Guava but it's still required by Guice and then packaged with all dependencies to the installation package.
> Unfortunately, we pack few dependencies that are not required at runtime so we can skip and decrease the size of the Maven package.
>  
> {code:java}
> com.google.inject:guice:jar:no_aop:4.2.1:compile
>  - aopalliance:aopalliance:jar:1.0:compile
>  - com.google.guava:guava:jar:25.1-android:compile
>    - com.google.code.findbugs:jsr305:jar:3.0.2:compile
>    - org.checkerframework:checker-compat-qual:jar:2.0.0:compile
>    - com.google.errorprone:error_prone_annotations:jar:2.1.3:compile
>    - com.google.j2objc:j2objc-annotations:jar:1.1:compile
>    - org.codehaus.mojo:animal-sniffer-annotations:jar:1.14:compile
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)