You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michal Kordas (JIRA)" <ji...@apache.org> on 2015/04/19 11:23:58 UTC

[jira] [Created] (MCHECKSTYLE-291) Change format of violation message

Michal Kordas created MCHECKSTYLE-291:
-----------------------------------------

             Summary: Change format of violation message
                 Key: MCHECKSTYLE-291
                 URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-291
             Project: Maven Checkstyle Plugin
          Issue Type: Improvement
    Affects Versions: 2.15
            Reporter: Michal Kordas


For example on LineLength violation in console I get the following error:
_\[ERROR] src\test\java\com\test\SampleTest.java *\[89]* (sizes) LineLength: Line is longer than 180 characters (found 202)._

It would be better to have colon and line number instead of braces, so that I can directly paste the reference to IntelliJ and go to affected line:
_\[ERROR] src\test\java\com\test\SampleTest.java *:89* (sizes) LineLength: Line is longer than 180 characters (found 202)._

The same format has exception stacktrace in Java.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)