diff options
author | Dongjoon Hyun <dongjoon@apache.org> | 2016-03-08 10:27:52 +0000 |
---|---|---|
committer | Sean Owen <sowen@cloudera.com> | 2016-03-08 10:27:52 +0000 |
commit | 7771c7314ff01b666b36c97982f62c5ef26aca08 (patch) | |
tree | dd592ad10da1e9891ffe0f9427b2cfe624353372 /pom.xml | |
parent | e52e597db48d069b98c1d404b221d3365f38fbb8 (diff) | |
download | spark-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.xml | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |