diff --git a/fe/fe-common/pom.xml b/fe/fe-common/pom.xml
index 60b08c88800da2..62d66266d2c28a 100644
--- a/fe/fe-common/pom.xml
+++ b/fe/fe-common/pom.xml
@@ -39,6 +39,8 @@ under the License.
8
8
${basedir}/../../
+
+ false
@@ -73,6 +75,13 @@ under the License.
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ ${failIfNoSpecifiedTests}
+
+
diff --git a/fe/hive-udf/pom.xml b/fe/hive-udf/pom.xml
index 215bbf4c0576b1..162e5d1515dae5 100644
--- a/fe/hive-udf/pom.xml
+++ b/fe/hive-udf/pom.xml
@@ -35,6 +35,8 @@
8
8
8
+
+ false
@@ -77,6 +79,13 @@
+
+ org.apache.maven.plugins
+ maven-surefire-plugin
+
+ ${failIfNoSpecifiedTests}
+
+