From aea30a1a9b79eb13d362ef32e4e9c8233e29f3dc Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Sat, 9 Apr 2016 21:31:20 -0700 Subject: [SPARK-14465][BUILD] Checkstyle should check all Java files ## What changes were proposed in this pull request? Currently, `checkstyle` is configured to check the files under `src/main/java`. However, Spark has Java files in `src/main/scala`, too. This PR fixes the following configuration in `pom.xml` and the unchecked-so-far violations on those files. ```xml -${basedir}/src/main/java +${basedir}/src/main/java,${basedir}/src/main/scala ``` ## How was this patch tested? After passing the Jenkins build and manually `dev/lint-java`. (Note that Jenkins does not run `lint-java`) Author: Dongjoon Hyun Closes #12242 from dongjoon-hyun/SPARK-14465. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index 3f9e4abc32..4cbc6a2f11 100644 --- a/pom.xml +++ b/pom.xml @@ -2253,7 +2253,7 @@ false true false - ${basedir}/src/main/java + ${basedir}/src/main/java,${basedir}/src/main/scala ${basedir}/src/test/java dev/checkstyle.xml ${basedir}/target/checkstyle-output.xml -- cgit v1.2.3