aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
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 /pom.xml
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 'pom.xml')
-rw-r--r--pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index e7f3442d44..dccfd104cd 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2246,7 +2246,7 @@
<failOnWarning>false</failOnWarning>
<sourceDirectory>${basedir}/src/main/scala</sourceDirectory>
<testSourceDirectory>${basedir}/src/test/scala</testSourceDirectory>
- <configLocation>dev/scalastyle-config.xml</configLocation>
+ <configLocation>scalastyle-config.xml</configLocation>
<outputFile>${basedir}/target/scalastyle-output.xml</outputFile>
<inputEncoding>${project.build.sourceEncoding}</inputEncoding>
<outputEncoding>${project.reporting.outputEncoding}</outputEncoding>