This is an automated email from the ASF dual-hosted git repository.
aloyszhang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-inlong.git
The following commit(s) were added to refs/heads/master by this push:
new d72bb89 [INLONG-2202] add lower version log4j exclusion in
sort-standalone pom.xml (#2205)
d72bb89 is described below
commit d72bb89b07b856040b0e43b42f8703ae837f7369
Author: 卢春亮 <[email protected]>
AuthorDate: Thu Jan 20 15:45:53 2022 +0800
[INLONG-2202] add lower version log4j exclusion in sort-standalone pom.xml
(#2205)
* [INLONG-2202] add lower version log4j exclusion in sort-standalone pom.xml
* fix tab problem
---
inlong-sort-standalone/pom.xml | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/inlong-sort-standalone/pom.xml b/inlong-sort-standalone/pom.xml
index 954475b..6a797b4 100644
--- a/inlong-sort-standalone/pom.xml
+++ b/inlong-sort-standalone/pom.xml
@@ -55,6 +55,7 @@
<hive.version>2.3.9</hive.version>
<fastjson.version>1.2.79</fastjson.version>
<simpleclient_httpserver.version>0.14.1</simpleclient_httpserver.version>
+ <log4j.version>2.17.1</log4j.version>
</properties>
<dependencies>
@@ -157,6 +158,18 @@
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -180,6 +193,26 @@
<groupId>jdk.tools</groupId>
<artifactId>jdk.tools</artifactId>
</exclusion>
+ <exclusion>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-core</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.slf4j</groupId>
+ <artifactId>slf4j-log4j12</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
</exclusions>
</dependency>
<dependency>
@@ -187,6 +220,11 @@
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
+ <dependency>
+ <groupId>org.apache.logging.log4j</groupId>
+ <artifactId>log4j-slf4j-impl</artifactId>
+ <version>${log4j.version}</version>
+ </dependency>
</dependencies>
</project>
\ No newline at end of file