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

penghui pushed a commit to branch branch-2.11
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.11 by this push:
     new 50c75a9b5a0 [fix][sec] Exclude log4j from openmldb (#19266)
50c75a9b5a0 is described below

commit 50c75a9b5a065e8768a1dd7f57a21389d248458e
Author: Zixuan Liu <[email protected]>
AuthorDate: Wed Jan 18 18:01:15 2023 +0800

    [fix][sec] Exclude log4j from openmldb (#19266)
    
    Signed-off-by: Zixuan Liu <[email protected]>
    (cherry picked from commit 32cdf3816001ab88ae3624973e33248740414927)
---
 pulsar-io/jdbc/openmldb/pom.xml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/pulsar-io/jdbc/openmldb/pom.xml b/pulsar-io/jdbc/openmldb/pom.xml
index d0b19ba5da8..a959a0854c6 100644
--- a/pulsar-io/jdbc/openmldb/pom.xml
+++ b/pulsar-io/jdbc/openmldb/pom.xml
@@ -42,6 +42,16 @@
       <artifactId>openmldb-jdbc</artifactId>
       <version>${openmldb-jdbc.version}</version>
       <scope>runtime</scope>
+      <exclusions>
+        <exclusion>
+          <groupId>log4j</groupId>
+          <artifactId>log4j</artifactId>
+        </exclusion>
+        <exclusion>
+          <groupId>org.slf4j</groupId>
+          <artifactId>slf4j-log4j12</artifactId>
+        </exclusion>
+      </exclusions>
     </dependency>
     <dependency>
       <groupId>com.4paradigm.openmldb</groupId>

Reply via email to