You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/08/09 20:06:00 UTC

[jira] [Commented] (AVRO-2208) Unneeded OSGi import generated for Guava dependency

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

ASF GitHub Bot commented on AVRO-2208:
--------------------------------------

glimmerveen opened a new pull request #325: AVRO-2208 Unneeded OSGi import generated for Guava dependency
URL: https://github.com/apache/avro/pull/325
 
 
   The classes from Guava used by Avro are shaded into the final jar, however the OSGi imports are calculated before shading, resulting in a com.google.common* dependency declared in Import-Package manifest header. As a consequence in an OSGi environment one has to install a version of Guava even though that version will not be used by Avro.
   
   By adding !com.google.common* to the Import-Package directive of the maven-bundle-plugin the package(s) of Guava will no longer be declared on the Import-Package of the Avro OSGi bundle.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


> Unneeded OSGi import generated for Guava dependency
> ---------------------------------------------------
>
>                 Key: AVRO-2208
>                 URL: https://issues.apache.org/jira/browse/AVRO-2208
>             Project: Avro
>          Issue Type: Bug
>          Components: java
>    Affects Versions: 1.8.2
>            Reporter: Arnoud Glimmerveen
>            Priority: Major
>
> The classes from Guava used by Avro are shaded into the final jar, however the OSGi imports are calculated before shading, resulting in a com.google.common* dependency declared in Import-Package manifest header. As a consequence in an OSGi environment one has to install a version of Guava even though that version will not be used by Avro.



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