diff --git a/itests/hive-unit/pom.xml b/itests/hive-unit/pom.xml
index 9b52e53def96..3c911e7ec31c 100644
--- a/itests/hive-unit/pom.xml
+++ b/itests/hive-unit/pom.xml
@@ -549,6 +549,33 @@
+
+ org.apache.maven.plugins
+ maven-enforcer-plugin
+
+
+ enforce-banned-dependencies
+
+ enforce
+
+
+
+
+
+ org.junit.jupiter:junit-jupiter
+
+ true
+
+ Banned jupiter dependency was found!
+ Only remove this rule if you confirmed that adding jupiter dependency
+ to the project won't make unit tests silently skipped.
+
+
+
+
+
+
+
diff --git a/pom.xml b/pom.xml
index 21977aea952c..3894c9e3c6d5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1664,7 +1664,7 @@
- enforce-banned-dependencies-licenses
+ enforce-banned-dependencies
enforce
@@ -1677,17 +1677,6 @@
A banned license dependency was found!
-
- true
-
-
-
- enforce-banned-dependencies-logging
-
- enforce
-
-
-