Details
-
Task
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
Gradle plugin offers quite easy setup with git-ls to scan only the changed files for violations.
The example githook here is obviously unacceptable as it requires the JAR file to be present somewhere which is redundant when checkstyle is configured in project's POM.
Would it be possible to add similar configurability to maven plugin to support something like:
mvn -Dcheckstyle.includes='path/to/class.java' checkstyle:check
For some reason, the below thing works, but the above thing doesn't:
mvn -Dcheckstyle.includes='**/src/**/*.java' checkstyle:check