maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Herve Boutemy (JIRA)" <j...@codehaus.org>
Subject [jira] (MCHECKSTYLE-148) Would be nice to see the name of CHECK together with its output
Date Sat, 26 Jul 2014 17:40:10 GMT

     [ https://jira.codehaus.org/browse/MCHECKSTYLE-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Herve Boutemy closed MCHECKSTYLE-148.
-------------------------------------

    Resolution: Fixed
      Assignee: Herve Boutemy

done in [r1613691| http://svn.apache.org/r1613691]

there is no option, since the output format is compact = {{(category) rule:}}

{noformat}[ERROR] MyClass.java[0] (javadoc) JavadocPackage: Missing package-info.java file.{noformat}

> Would be nice to see the name of CHECK together with its output
> ---------------------------------------------------------------
>
>                 Key: MCHECKSTYLE-148
>                 URL: https://jira.codehaus.org/browse/MCHECKSTYLE-148
>             Project: Maven Checkstyle Plugin
>          Issue Type: Improvement
>         Environment: maven-3
>            Reporter: Yegor Bugayenko
>            Assignee: Herve Boutemy
>             Fix For: 2.13
>
>
> This is what I see in my report (for example):
> {noformat}
> [...]
> [ERROR] Abc.java[77:5] Class should define a constructor.
> [ERROR] Abc.java[88:5] Class should define a constructor.
> [ERROR] Abc.java[99:8] Unused @param tag for 's'.
> [...]
> {noformat}
> It's difficult to understand which particular checkstyle check produced these lines.
Would be nice to have a configuration option in the plugin, which will let me turn such extra
logging ON and OFF, and I would see something like this:
> {noformat}
> [...]
> [ERROR] Abc.java[77:5] Class should define a constructor. (com.puppycrawl.tools.checkstyle.checks...)
> [ERROR] Abc.java[88:5] Class should define a constructor. (com.puppycrawl.tools.checkstyle.checks...)
> [ERROR] Abc.java[99:8] Unused @param tag for 's'. (com.puppycrawl.tools.checkstyle.checks...)
> [...]
> {noformat}
> This logging will help me to find (!) and re-configure my checks very fast.



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)

Mime
View raw message