From b80c47e2664da8ef734bf26e41c09e47c4fddd78 Mon Sep 17 00:00:00 2001
From: ZhongYujiang <42907416+zhongyujiang@users.noreply.github.com>
Date: Mon, 28 Oct 2024 17:26:06 +0800
Subject: [PATCH] [spark]: clean up zstd-jni lib files.
---
paimon-spark/paimon-spark-3.2/pom.xml | 2 ++
paimon-spark/paimon-spark-3.3/pom.xml | 2 ++
paimon-spark/paimon-spark-3.4/pom.xml | 2 ++
paimon-spark/paimon-spark-3.5/pom.xml | 2 ++
4 files changed, 8 insertions(+)
diff --git a/paimon-spark/paimon-spark-3.2/pom.xml b/paimon-spark/paimon-spark-3.2/pom.xml
index 2e7804b63cd4..8f8c7f341e48 100644
--- a/paimon-spark/paimon-spark-3.2/pom.xml
+++ b/paimon-spark/paimon-spark-3.2/pom.xml
@@ -114,6 +114,8 @@ under the License.
*
com/github/luben/zstd/**
+ **/*libzstd-jni-*.so
+ **/*libzstd-jni-*.dll
diff --git a/paimon-spark/paimon-spark-3.3/pom.xml b/paimon-spark/paimon-spark-3.3/pom.xml
index 6b21ebb53e2b..efe1d5f4c726 100644
--- a/paimon-spark/paimon-spark-3.3/pom.xml
+++ b/paimon-spark/paimon-spark-3.3/pom.xml
@@ -114,6 +114,8 @@ under the License.
*
com/github/luben/zstd/**
+ **/*libzstd-jni-*.so
+ **/*libzstd-jni-*.dll
diff --git a/paimon-spark/paimon-spark-3.4/pom.xml b/paimon-spark/paimon-spark-3.4/pom.xml
index 9f1b69fce067..63434083e372 100644
--- a/paimon-spark/paimon-spark-3.4/pom.xml
+++ b/paimon-spark/paimon-spark-3.4/pom.xml
@@ -114,6 +114,8 @@ under the License.
*
com/github/luben/zstd/**
+ **/*libzstd-jni-*.so
+ **/*libzstd-jni-*.dll
diff --git a/paimon-spark/paimon-spark-3.5/pom.xml b/paimon-spark/paimon-spark-3.5/pom.xml
index 9593a1a9d175..3c654a0aa8df 100644
--- a/paimon-spark/paimon-spark-3.5/pom.xml
+++ b/paimon-spark/paimon-spark-3.5/pom.xml
@@ -114,6 +114,8 @@ under the License.
*
com/github/luben/zstd/**
+ **/*libzstd-jni-*.so
+ **/*libzstd-jni-*.dll