[
https://jira.codehaus.org/browse/MCHECKSTYLE-173?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=292079#comment-292079
]
Kohányi Róbert commented on MCHECKSTYLE-173:
--------------------------------------------
I have the same problem using [this
configuration|https://raw.github.com/kohanyirobert/checkstyle/master/checkstyle-main.xml].
If I comment out <property name="charset" value="UTF-8"/> checkstyle don't
bark at me.
I didn't look at the code or anything, but given the error message I think the
plugin appends the project's default encoding to whatever encoding the charset
property holds. To prove myself I've modified the above configuration by
changing the charset to ISO-8859-1, in which case the error message I received
changed to "blabla 'ISO-8859-1,UTF-8' blabla". Hope it helped.
> Embedded error: Cannot set property 'charset' in module Checker to
> 'UTF-8,UTF-8': UTF-8,UTF-8
> ---------------------------------------------------------------------------------------------
>
> Key: MCHECKSTYLE-173
> URL: https://jira.codehaus.org/browse/MCHECKSTYLE-173
> Project: Maven 2.x Checkstyle Plugin
> Issue Type: Bug
> Affects Versions: 2.9
> Environment: Windows and linux, same problem
> Reporter: Harald Lammers
> Attachments: checkstyle.log, site.log
>
>
> Changes are checkstyle-plugin update from 2.8 to 2.9.
> Same problem with 'mvn checkstyle:check' and 'mvn site'
> Logging added in this issue report.
--
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