[
https://jira.codehaus.org/browse/MCHECKSTYLE-148?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Herve Boutemy updated MCHECKSTYLE-148:
--------------------------------------
Component/s: checkstyle:check
> 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
> Components: checkstyle:check
> 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)