Hi Danielle, You may use maven-shade-plugin ( https://maven.apache.org/plugins/maven-shade-plugin/) to shade your code, i.e. it renames your package. You may take a look at the pom.xml file in the rafis-proto module.
Tsz-Wo On Tue, Aug 10, 2021 at 8:36 AM Danielle Hu <[email protected]> wrote: > Hi there, > I got a question of generating java files for custom photo. Right now I > use google’s protoc to generate java files from my custom .proto file. But > I then have to manually change ‘com.google.protobuf’ to ‘ > org.ratis.thirdparty.com.google.protobuf’ since it could not detect > com.google.protobuf is the same as the ratis third party one. Is there a > way to make this convenient? Like a ratis.thirdparty.protoc ? Or how did > ratis build those proto java files? > > Sincerely, > Danielle
