diff --git a/hudi-cli/pom.xml b/hudi-cli/pom.xml
index 62b55de4d..47f7c7f93 100644
--- a/hudi-cli/pom.xml
+++ b/hudi-cli/pom.xml
@@ -110,6 +110,13 @@
org.apache.rat
apache-rat-plugin
+
+ org.scalastyle
+ scalastyle-maven-plugin
+
+ false
+
+
diff --git a/hudi-spark/pom.xml b/hudi-spark/pom.xml
index d69954a18..e83d96de2 100644
--- a/hudi-spark/pom.xml
+++ b/hudi-spark/pom.xml
@@ -140,6 +140,10 @@
+
+ org.scalastyle
+ scalastyle-maven-plugin
+
diff --git a/pom.xml b/pom.xml
index d4d47c0bb..58355acc6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -154,29 +154,6 @@
-
- org.scalastyle
- scalastyle-maven-plugin
- 1.0.0
-
- false
- true
- true
- false
- ${project.basedir}/src/main/scala
- ${project.basedir}/src/test/scala
- ${main.basedir}/style/scalastyle.xml
- UTF-8
-
-
-
- compile
-
- check
-
-
-
-