This is an automated email from the ASF dual-hosted git repository.
lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/paimon.git
The following commit(s) were added to refs/heads/master by this push:
new 9d2a4605df [core] Fix missing kotlin and okio dependencies when using
okhttp3. (#5050)
9d2a4605df is described below
commit 9d2a4605dffc39ddb0e5d0b8733c02bf9ea42c68
Author: HunterXHunter <[email protected]>
AuthorDate: Fri Feb 14 15:08:34 2025 +0800
[core] Fix missing kotlin and okio dependencies when using okhttp3. (#5050)
---
paimon-core/pom.xml | 10 ++++++++++
paimon-core/src/main/resources/META-INF/NOTICE | 4 +++-
2 files changed, 13 insertions(+), 1 deletion(-)
diff --git a/paimon-core/pom.xml b/paimon-core/pom.xml
index 33aadf4da3..2436f2c035 100644
--- a/paimon-core/pom.xml
+++ b/paimon-core/pom.xml
@@ -284,6 +284,8 @@ under the License.
<artifactSet>
<includes combine.children="append">
<include>com.squareup.okhttp3:okhttp</include>
+
<include>com.squareup.okio:okio-jvm</include>
+
<include>org.jetbrains.kotlin:kotlin-stdlib</include>
</includes>
</artifactSet>
<relocations>
@@ -291,6 +293,14 @@ under the License.
<pattern>okhttp3</pattern>
<shadedPattern>org.apache.paimon.shade.okhttp3</shadedPattern>
</relocation>
+ <relocation>
+ <pattern>kotlin</pattern>
+
<shadedPattern>org.apache.paimon.shade.kotlin</shadedPattern>
+ </relocation>
+ <relocation>
+ <pattern>okio</pattern>
+
<shadedPattern>org.apache.paimon.shade.okio</shadedPattern>
+ </relocation>
</relocations>
</configuration>
</execution>
diff --git a/paimon-core/src/main/resources/META-INF/NOTICE
b/paimon-core/src/main/resources/META-INF/NOTICE
index dd2479b1d6..7bcb9b01a0 100644
--- a/paimon-core/src/main/resources/META-INF/NOTICE
+++ b/paimon-core/src/main/resources/META-INF/NOTICE
@@ -5,4 +5,6 @@ This product includes software developed at
The Apache Software Foundation (http://www.apache.org/).
This project bundles the following dependencies under the Apache Software
License 2.0 (http://www.apache.org/licenses/LICENSE-2.0.txt)
-- com.squareup.okhttp3:okhttp:4.12.0
\ No newline at end of file
+- com.squareup.okhttp3:okhttp:4.12.0
+- com.squareup.okio:okio-jvm:3.6.0
+- org.jetbrains.kotlin:kotlin-stdlib:1.8.21
\ No newline at end of file