Marton Greber has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/23606


Change subject: KUDU-3662: Fix shading in kudu-replication
......................................................................

KUDU-3662: Fix shading in kudu-replication

Mark Flink core APIs (flink-streaming-java, flink-core,
flink-clients, flink-connector-base) as compileUnshaded (Maven
'provided' scope). These are supplied by the Flink cluster at
runtime and should not be bundled to avoid classpath conflicts.

Bundle flink-connector-kudu but exclude its kudu-client
dependency to avoid duplicates, using our shaded kudu-client
instead.

Add shadowJar exclusions for cluster-provided dependencies:
Hadoop classes, commons-cli, and logging bindings (slf4j,
logback, log4j).

Extend testImplementation from compileUnshaded to ensure test
code can compile against the Flink APIs.

This follows the standard Flink connector packaging pattern as
documented at:
https://nightlies.apache.org/flink/flink-docs-stable/docs/dev/
datastream/project-configuration/

Change-Id: I57660c7c97fd440309f69f5d5e0d028aa88042dc
---
M java/kudu-replication/build.gradle
1 file changed, 29 insertions(+), 6 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/06/23606/1
--
To view, visit http://gerrit.cloudera.org:8080/23606
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I57660c7c97fd440309f69f5d5e0d028aa88042dc
Gerrit-Change-Number: 23606
Gerrit-PatchSet: 1
Gerrit-Owner: Marton Greber <[email protected]>

Reply via email to