wdtinc / mapbox-vector-tile-java

Java Mapbox Vector Tile Library for Encoding/Decoding
Apache License 2.0
147 stars 73 forks source link

How rebuild the project in protobuf 2.5.0 #11

Closed weston313 closed 6 years ago

weston313 commented 6 years ago

I run the jar in hadoop 2.7.1 and the version of protobuf in hadoop is 2.5.0.Can i or how to rebuild the project and generate new jars in protobuf 2.5.0

ShibaBandit commented 6 years ago

You could look into using https://maven.apache.org/plugins/maven-shade-plugin/. If I'm remembering correctly, dependencyManagement won't be an option since you need the protobuf implementation to be the same as the version that generated the code.

weston313 commented 6 years ago

I have rebuilding the project by protobuf 2.5.0.I have change some params class type in some function.Now i don't test it.I will try it with maven-shade-plugin.