-
Notifications
You must be signed in to change notification settings - Fork 440
TEZ-4428: Use protoc-jar-maven-plugin to generate protobuf classes #218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
(!) A patch to the testing environment has been detected. |
|
💔 -1 overall
This message was automatically generated. |
|
change looks good to me, 2 things to check:
|
|
Thanks for checking the PR.
|
|
(!) A patch to the testing environment has been detected. |
|
💔 -1 overall
This message was automatically generated. |
…pache#218) (Mark Bathori reviewed by Martin Tzvetanov Grigorov, Sylwester Lachiewicz, Laszlo Bodor)
…pache#218) (Mark Bathori reviewed by Martin Tzvetanov Grigorov, Sylwester Lachiewicz, Laszlo Bodor)
Replace the current protobuf handler plugin with
protoc-jar-maven-plugin. The plugin handles the platform detection, binary download and execution with the provided protoc version. Because of that all the custom scriptd can be removed which were handling these tasks (install-protobuf.shetc).The plugin also supports the use of other already installed versions of protoc in the system. It can be configured through the PROTOC_PATH environment variable or by using -Dprotoc.path parameter during build.
Based on this if there is no
protoCommandprovided then the plugin will download the protoc binary with version provided in${protobuf.version}, otherwise it will use the external protoc on the provided path.