[
https://issues.apache.org/jira/browse/MNG-6549?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16738067#comment-16738067
]
Ray Tsang commented on MNG-6549:
--------------------------------
These optional dependencies were introduced in Guava 22:
[https://github.com/google/guava/issues/2824] to fix
[https://github.com/google/guava/issues/2721]
I wonder if there are better ways to solve those issues. I'd love to see ways
to remove these annotation compile time dependencies as well.
> 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)