You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2018/12/06 10:50:36 UTC

[flink] 01/02: [FLINK-10997][formats] Bundle kafka-scheme-registry-client

This is an automated email from the ASF dual-hosted git repository.

chesnay pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git

commit 339ec175f558d23aaabffa3e856809518f238f2e
Author: zentol <ch...@apache.org>
AuthorDate: Fri Nov 23 15:57:02 2018 +0100

    [FLINK-10997][formats] Bundle kafka-scheme-registry-client
---
 .../flink-avro-confluent-registry/pom.xml          | 25 ++++++++++++++++++++--
 1 file changed, 23 insertions(+), 2 deletions(-)

diff --git a/flink-formats/flink-avro-confluent-registry/pom.xml b/flink-formats/flink-avro-confluent-registry/pom.xml
index 72a74ac..4c99f71 100644
--- a/flink-formats/flink-avro-confluent-registry/pom.xml
+++ b/flink-formats/flink-avro-confluent-registry/pom.xml
@@ -78,10 +78,31 @@ under the License.
 							<goal>shade</goal>
 						</goals>
 						<configuration>
+							<shadeTestJar>false</shadeTestJar>
+							<artifactSet>
+								<includes>
+									<include>io.confluent:*</include>
+									<include>com.fasterxml.jackson.core:*</include>
+									<include>org.apache.zookeeper:zookeeper</include>
+									<include>com.101tec:zkclient</include>
+								</includes>
+							</artifactSet>
 							<relocations combine.children="append">
 								<relocation>
-									<pattern>com.fasterxml.jackson.core</pattern>
-									<shadedPattern>org.apache.flink.formats.avro.registry.confluent.shaded.com.fasterxml.jackson.core</shadedPattern>
+									<pattern>com.fasterxml.jackson</pattern>
+									<shadedPattern>org.apache.flink.formats.avro.registry.confluent.shaded.com.fasterxml.jackson</shadedPattern>
+								</relocation>
+								<relocation>
+									<pattern>org.apache.zookeeper</pattern>
+									<shadedPattern>org.apache.flink.formats.avro.registry.confluent.shaded.org.apache.zookeeper</shadedPattern>
+								</relocation>
+								<relocation>
+									<pattern>org.apache.jute</pattern>
+									<shadedPattern>org.apache.flink.formats.avro.registry.confluent.shaded.org.apache.jute</shadedPattern>
+								</relocation>
+								<relocation>
+									<pattern>org.I0Itec.zkclient</pattern>
+									<shadedPattern>org.apache.flink.formats.avro.registry.confluent.shaded.org.101tec</shadedPattern>
 								</relocation>
 							</relocations>
 						</configuration>