You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fluss.apache.org by ho...@apache.org on 2026/10/14 02:14:52 UTC

(fluss) branch main updated: [flink] Exclude bundled SLF4J API from Flink connector JARs (#4624)

This is an automated email from the ASF dual-hosted git repository.

loserwang1024 pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fluss.git


The following commit(s) were added to refs/heads/main by this push:
     new 368d91a469 [flink] Exclude bundled SLF4J API from Flink connector JARs (#4624)
368d91a469 is described below

commit 368d91a4697bb8b716967bd9700140ed3626f57d
Author: Hongshun Wang <12...@users.noreply.github.com>
AuthorDate: Wed Oct 14 10:14:46 2026 +0800

    [flink] Exclude bundled SLF4J API from Flink connector JARs (#4624)
---
 fluss-flink/pom.xml | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/fluss-flink/pom.xml b/fluss-flink/pom.xml
index fae5892c53..1f57c4c77a 100644
--- a/fluss-flink/pom.xml
+++ b/fluss-flink/pom.xml
@@ -59,6 +59,21 @@
 
     <build>
         <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-shade-plugin</artifactId>
+                <configuration>
+                    <filters combine.children="append">
+                        <filter>
+                            <artifact>org.apache.fluss:fluss-client</artifact>
+                            <excludes>
+                                <!-- fluss-client bundles SLF4J classes; use Flink's logging API. -->
+                                <exclude>org/slf4j/**</exclude>
+                            </excludes>
+                        </filter>
+                    </filters>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-enforcer-plugin</artifactId>