This is an automated email from the ASF dual-hosted git repository.
benjobs pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/incubator-streampark.git
The following commit(s) were added to refs/heads/dev by this push:
new bd66dfe00 [Flink-K8s-V2] Create Shaded module for
flink-kubernetes-operator-api dependency (#2909)
bd66dfe00 is described below
commit bd66dfe0083e9a8238d37550dbd78cbb10d69e5e
Author: Linying Assad <[email protected]>
AuthorDate: Sun Jul 30 00:27:16 2023 +0800
[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(+)
diff --git a/dist-material/release-docs/LICENSE
b/dist-material/release-docs/LICENSE
index 358cf357c..a96de8a9d 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 b9c71630d..ba70c3c6d 100644
--- a/streampark-shaded/pom.xml
+++ b/streampark-shaded/pom.xml
@@ -32,6 +32,7 @@
<modules>
<module>streampark-shaded-slf4j</module>
<module>streampark-shaded-jackson</module>
+ <module>streampark-shaded-flink-kubernetes-operator</module>
</modules>
<properties>
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 000000000..5e34360c0
--- /dev/null
+++ b/streampark-shaded/streampark-shaded-flink-kubernetes-operator/pom.xml
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ ~ Licensed to the Apache Software Foundation (ASF) under one or more
+ ~ contributor license agreements. See the NOTICE file distributed with
+ ~ this work for additional information regarding copyright ownership.
+ ~ The ASF licenses this file to You under the Apache License, Version 2.0
+ ~ (the "License"); you may not use this file except in compliance with
+ ~ the License. You may obtain a copy of the License at
+ ~
+ ~ http://www.apache.org/licenses/LICENSE-2.0
+ ~
+ ~ Unless required by applicable law or agreed to in writing, software
+ ~ distributed under the License is distributed on an "AS IS" BASIS,
+ ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ ~ See the License for the specific language governing permissions and
+ ~ limitations under the License.
+ -->
+<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+ <parent>
+ <groupId>org.apache.streampark</groupId>
+ <artifactId>streampark-shaded</artifactId>
+ <version>1.0.0</version>
+ </parent>
+
+ <artifactId>streampark-shaded-flink-kubernetes-operator-api</artifactId>
+ <name>StreamPark : Shaded Flink K8s Operator API</name>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.flink</groupId>
+ <artifactId>flink-kubernetes-operator-api</artifactId>
+ <version>1.5.0</version>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-shade-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>shade</goal>
+ </goals>
+ <configuration>
+
<createDependencyReducedPom>true</createDependencyReducedPom>
+
<dependencyReducedPomLocation>${project.basedir}/target/dependency-reduced-pom.xml
+ </dependencyReducedPomLocation>
+ <artifactSet>
+ <includes>
+ <include>org.apache.flink:*</include>
+ </includes>
+ </artifactSet>
+ <relocations>
+ <relocation>
+ <pattern>org.apache.flink</pattern>
+
<shadedPattern>${streampark.shaded.package}.org.apache.flink</shadedPattern>
+ </relocation>
+ </relocations>
+ <filters>
+ <filter>
+ <artifact>*:*</artifact>
+ <excludes>
+ <exclude>META-INF/*.SF</exclude>
+ <exclude>META-INF/*.DSA</exclude>
+ <exclude>META-INF/*.RSA</exclude>
+ </excludes>
+ </filter>
+ </filters>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project>