diff --git a/llap-server/pom.xml b/llap-server/pom.xml
index d90296d6023c..0905ca1f24b4 100644
--- a/llap-server/pom.xml
+++ b/llap-server/pom.xml
@@ -367,9 +367,8 @@
org.apache.logging.log4j
- log4j-core
+ log4j-core-test
${log4j2.version}
- tests
test
diff --git a/pom.xml b/pom.xml
index da80147e90ce..ad701d4b1a81 100644
--- a/pom.xml
+++ b/pom.xml
@@ -175,7 +175,7 @@
0.9.3
0.16.0
- 2.18.0
+ 2.23.1
2.5.0
6.2.1.jre8
8.0.31
diff --git a/standalone-metastore/metastore-server/pom.xml b/standalone-metastore/metastore-server/pom.xml
index 8367ad533d5b..a588f2d4ec6d 100644
--- a/standalone-metastore/metastore-server/pom.xml
+++ b/standalone-metastore/metastore-server/pom.xml
@@ -412,9 +412,8 @@
org.apache.logging.log4j
- log4j-core
+ log4j-core-test
${log4j2.version}
- tests
test
diff --git a/standalone-metastore/pom.xml b/standalone-metastore/pom.xml
index 04deae9c1661..7ae1bb5aa55b 100644
--- a/standalone-metastore/pom.xml
+++ b/standalone-metastore/pom.xml
@@ -89,7 +89,7 @@
5.6.3
0.9.3
0.16.0
- 2.18.0
+ 2.23.1
3.4.4
1.8.5
3.24.4