GitHub user dongjoon-hyun opened a pull request:
https://github.com/apache/spark/pull/11567
[HOT-FIX] 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
```
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/dongjoon-hyun/spark
hotfix_checkstyle_suppression
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/11567.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #11567
----
commit 380ceb30823ea2fbd76a33538381a64fe3d5171a
Author: Dongjoon Hyun <[email protected]>
Date: 2016-03-08T00:12:55Z
Fix file location
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]