Github user pwendell commented on the pull request:
https://github.com/apache/spark/pull/1550#issuecomment-50279335
After some thought, I'd prefer not to force stylce checking when the
`package` target is run. Many distributors fork the Spark build and modify
things, I don't want to impose on them having to meet our internal style
guidelines or they get a build failure.
I think it's fine to just support `mvn install; mvn scalastyle:check`.
Another alternative is, we could add a profile `-Pscalastyle` that enables
checking when package is run.
---
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.
---