提交 ea1230ae 编写于 作者: S Sijie Guo 提交者: Matteo Merli

Exclude grpc dependencies in binary distribution (#1724)

*Motivation*

Gprc is used by functions as control plane. The dependencies were shaded in `pulsar-functions-runtime`. However the assembly plugin still
includes those dependencies in the binary distribution. It causes the conflicts between protobuf versions.

*Solution*

Exclude grpc dependencies in binary distribution.
上级 19a05651
......@@ -111,6 +111,9 @@
<!-- Already included in pulsar-zookeeper instrumented jar -->
<exclude>org.apache.zookeeper:zookeeper</exclude>
<!-- Already shaded in runtime-shaded jar -->
<exclude>io.grpc:*</exclude>
<!-- Explicitely remove JUnit which is getting pulled in even
though it's set to the scope 'test' -->
<exclude>junit:junit</exclude>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册