aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorDongjoon Hyun <dongjoon@apache.org>2016-03-08 10:27:52 +0000
committerSean Owen <sowen@cloudera.com>2016-03-08 10:27:52 +0000
commit7771c7314ff01b666b36c97982f62c5ef26aca08 (patch)
treedd592ad10da1e9891ffe0f9427b2cfe624353372 /dev
parente52e597db48d069b98c1d404b221d3365f38fbb8 (diff)
downloadspark-7771c7314ff01b666b36c97982f62c5ef26aca08.tar.gz
spark-7771c7314ff01b666b36c97982f62c5ef26aca08.tar.bz2
spark-7771c7314ff01b666b36c97982f62c5ef26aca08.zip
[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 <dongjoon@apache.org> Closes #11567 from dongjoon-hyun/hotfix_checkstyle_suppression.
Diffstat (limited to 'dev')
-rw-r--r--dev/checkstyle.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/checkstyle.xml b/dev/checkstyle.xml
index a165fee2a4..2261cc95d4 100644
--- a/dev/checkstyle.xml
+++ b/dev/checkstyle.xml
@@ -49,7 +49,7 @@
<property name="fileExtensions" value="java, properties, xml"/>
<module name="SuppressionFilter">
- <property name="file" value="checkstyle-suppressions.xml"/>
+ <property name="file" value="dev/checkstyle-suppressions.xml"/>
</module>
<!-- Checks for whitespace -->