From 0a07752dc03c51e16d7bb4239523b0181d819708 Mon Sep 17 00:00:00 2001 From: Prashant Wason Date: Mon, 13 Jan 2020 11:38:59 -0800 Subject: [PATCH] [HUDI-527] scalastyle-maven-plugin moved to pluginManagement as it is only used in hoodie-spark and hoodie-cli modules. This fixes compile warnings as well as unnecessary plugin invocation for most of the modules which do not have scala code. --- hudi-cli/pom.xml | 7 +++++++ hudi-spark/pom.xml | 4 ++++ pom.xml | 46 +++++++++++++++++++++++----------------------- 3 files changed, 34 insertions(+), 23 deletions(-) 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 - - - -