From 7771c7314ff01b666b36c97982f62c5ef26aca08 Mon Sep 17 00:00:00 2001 From: Dongjoon Hyun Date: Tue, 8 Mar 2016 10:27:52 +0000 Subject: [HOT-FIX][BUILD] Use the new location of `checkstyle-suppressions.xml` ## What changes were proposed in this pull request? This PR fixes `dev/lint-java` and `mvn checkstyle:check` failures due the recent file location change. The following is the error message of current master. ``` Checkstyle checks failed at following occurrences: [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.17:check (default-cli) on project spark-parent_2.11: Failed during checkstyle configuration: cannot initialize module SuppressionFilter - Cannot set property 'file' to 'checkstyle-suppressions.xml' in module SuppressionFilter: InvocationTargetException: Unable to find: checkstyle-suppressions.xml -> [Help 1] ``` ## How was this patch tested? Manual. The following command should run correctly. ``` ./dev/lint-java mvn checkstyle:check ``` Author: Dongjoon Hyun Closes #11567 from dongjoon-hyun/hotfix_checkstyle_suppression. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pom.xml') diff --git a/pom.xml b/pom.xml index e7f3442d44..dccfd104cd 100644 --- a/pom.xml +++ b/pom.xml @@ -2246,7 +2246,7 @@ false ${basedir}/src/main/scala ${basedir}/src/test/scala - dev/scalastyle-config.xml + scalastyle-config.xml ${basedir}/target/scalastyle-output.xml ${project.build.sourceEncoding} ${project.reporting.outputEncoding} -- cgit v1.2.3