You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ismaël Mejía (JIRA)" <ji...@apache.org> on 2017/04/05 04:36:41 UTC
[jira] [Commented] (BEAM-1881) Exclude protobuf-lite everywhere
[ https://issues.apache.org/jira/browse/BEAM-1881?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15956287#comment-15956287 ]
Ismaël Mejía commented on BEAM-1881:
------------------------------------
Great to know, I used this dependency without been sure. It deserves even a cross-project PR to make this clearer in the protobuf documentation, I looked at it and I was not sure of which version should one use and some people on stack overflow just said take the lite and if it is not enough move to the full one, but I could not confirm this so I followed the version other dependencies were using. Worth fix.
> Exclude protobuf-lite everywhere
> --------------------------------
>
> Key: BEAM-1881
> URL: https://issues.apache.org/jira/browse/BEAM-1881
> Project: Beam
> Issue Type: Bug
> Components: sdk-java-core
> Reporter: Daniel Halperin
> Assignee: Daniel Halperin
> Fix For: First stable release
>
>
> Protobuf-lite and protobuf-java are completely incompatible. Apparently, protobuf-lite is not "lite", it should really be used only in Android.
> So we should be very careful to exclude -lite everywhere and enforce java.
> And if possible, use an enforcer to prevent any dependencies on -lite ever.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)