Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.9.1
-
None
Description
Getting checkstyle:check to print out Checkstyle's findings to the console during a build is surprisingly hard/ugly:
<violationSeverity>info</violationSeverity> <failOnViolation>false</failOnViolation> <logViolationsToConsole>true</logViolationsToConsole>
While this achieves the desired effect, it produces a warning:
[WARNING] checkstyle:check violations detected but failOnViolation set to false
Moreover, all found violations, whether errors, warnings, or infos, are logged as [ERROR]'s on Maven's console. It would be nice if the maven-checkstyle-plugin would use the corresponding Maven log levels instead.
Attachments
Attachments
Issue Links
- is related to
-
MCHECKSTYLE-243 log checkstyle:check violations to console by default
- Closed