Hi all, If you ever had runtime compatibility issues with different versions of protobuf-java used in the same application, protobuf-java-shaded-[241|250|261] may be of interest:
https://github.com/os72/protobuf-java-shaded-241 https://github.com/os72/protobuf-java-shaded-250 https://github.com/os72/protobuf-java-shaded-261 These are simply pre-shaded clones of protobuf-java with renamed namespace (com.google.protobuf) that includes the protobuf version explicitly: com.github.os72.protobuf241 com.github.os72.protobuf250 com.github.os72.protobuf261 protoc-jar/protoc-jar-maven-plugin can help with the namespace rewriting for code generated by the protoc compiler: https://github.com/os72/protoc-jar https://github.com/os72/protoc-jar-maven-plugin All of this is similar with what can be accomplished with maven-shade-plugin, but it's arguably simpler, with explicit versioning, and available at compile time (no bytecode manipulation after compilation) Cheers --Oliver -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.