Andreas Sewe created MCHECKSTYLE-182:
----------------------------------------

             Summary: Use Maven log levels when logging to console
                 Key: MCHECKSTYLE-182
                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-182
             Project: Maven 2.x Checkstyle Plugin
          Issue Type: Improvement
    Affects Versions: 2.9.1
            Reporter: Andreas Sewe
            Priority: Minor


Getting {{checkstyle:check}} to print out Checkstyle's findings to the console 
during a build is surprisingly hard/ugly:

{code:xml}
<violationSeverity>info</violationSeverity>
<failOnViolation>false</failOnViolation>
<logViolationsToConsole>true</logViolationsToConsole>
{code}

While this achieves the desired effect, it produces a warning:

{code}
[WARNING] checkstyle:check violations detected but failOnViolation set to false
{code}

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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to