diff --git a/fe/check/checkstyle/checkstyle.xml b/fe/check/checkstyle/checkstyle.xml
index 86f303d84c8113..2b87546548beed 100644
--- a/fe/check/checkstyle/checkstyle.xml
+++ b/fe/check/checkstyle/checkstyle.xml
@@ -33,7 +33,7 @@ under the License.
-
+
@@ -45,7 +45,7 @@ under the License.
-
+
@@ -161,7 +161,7 @@ under the License.
-
+
diff --git a/fe/pom.xml b/fe/pom.xml
index db6deaf5f3f428..6fa3dcd6b2a209 100644
--- a/fe/pom.xml
+++ b/fe/pom.xml
@@ -191,6 +191,14 @@ under the License.
true
false
true
+
+ config_loc=${maven.multiModuleProjectDirectory}/check/checkstyle
**/apache/doris/thrift/**/*,
**/apache/parquet/**/*