From bd66dfe0083e9a8238d37550dbd78cbb10d69e5e Mon Sep 17 00:00:00 2001 From: Linying Assad Date: Sun, 30 Jul 2023 00:27:16 +0800 Subject: [PATCH] [Flink-K8s-V2] Create Shaded module for flink-kubernetes-operator-api dependency (#2909) * Shaded module for flink-kubernetes-operator-api dependency #2880 * Supplement the license declaration for flink shaded. --- dist-material/release-docs/LICENSE | 1 + streampark-shaded/pom.xml | 1 + .../pom.xml | 81 +++++++++++++++++++ 3 files changed, 83 insertions(+) create mode 100644 streampark-shaded/streampark-shaded-flink-kubernetes-operator/pom.xml diff --git a/dist-material/release-docs/LICENSE b/dist-material/release-docs/LICENSE index 358cf357c3..a96de8a9dc 100644 --- a/dist-material/release-docs/LICENSE +++ b/dist-material/release-docs/LICENSE @@ -378,6 +378,7 @@ The text of each license is the standard Apache 2.0 license. https://www.apache. https://mvnrepository.com/artifact/org.apache.flink/flink-table-planner_2.12/1.14.4 Apache-2.0 https://mvnrepository.com/artifact/org.apache.flink/flink-table-runtime_2.12/1.14.4 Apache-2.0 https://mvnrepository.com/artifact/org.apache.flink/force-shading/1.8.1 Apache-2.0 + https://mvnrepository.com/artifact/org.apache.flink/flink-kubernetes-operator-api_2.12/1.5.0 Apache-2.0 https://mvnrepository.com/artifact/org.apache.geronimo.specs/geronimo-jcache_1.0_spec/1.0-alpha-1 Apache-2.0 https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client-runtime/3.3.4 Apache-2.0 https://mvnrepository.com/artifact/org.apache.hadoop/hadoop-client-api/3.3.4 Apache-2.0 diff --git a/streampark-shaded/pom.xml b/streampark-shaded/pom.xml index b9c71630d7..ba70c3c6d1 100644 --- a/streampark-shaded/pom.xml +++ b/streampark-shaded/pom.xml @@ -32,6 +32,7 @@ streampark-shaded-slf4j streampark-shaded-jackson + streampark-shaded-flink-kubernetes-operator diff --git a/streampark-shaded/streampark-shaded-flink-kubernetes-operator/pom.xml b/streampark-shaded/streampark-shaded-flink-kubernetes-operator/pom.xml new file mode 100644 index 0000000000..5e34360c00 --- /dev/null +++ b/streampark-shaded/streampark-shaded-flink-kubernetes-operator/pom.xml @@ -0,0 +1,81 @@ + + + + 4.0.0 + + org.apache.streampark + streampark-shaded + 1.0.0 + + + streampark-shaded-flink-kubernetes-operator-api + StreamPark : Shaded Flink K8s Operator API + + + + org.apache.flink + flink-kubernetes-operator-api + 1.5.0 + + + + + + + org.apache.maven.plugins + maven-shade-plugin + + + package + + shade + + + true + ${project.basedir}/target/dependency-reduced-pom.xml + + + + org.apache.flink:* + + + + + org.apache.flink + ${streampark.shaded.package}.org.apache.flink + + + + + *:* + + META-INF/*.SF + META-INF/*.DSA + META-INF/*.RSA + + + + + + + + + + +