[ http://jira.codehaus.org/browse/MPCHECKSTYLE-39?page=comments#action_83152 ] Eric Ballet Baz commented on MPCHECKSTYLE-39: ---------------------------------------------
This is not fixed : the property "maven.xdoc.locale.default" is used as the country code, but the value of the "maven.xdoc.locale.default" property is not the country code ! It is the language code ... Checkstyle doesn't recognized the country code as a locale. You should define the "Checker" Checkstyle module by using the property "localeLanguage", not "localeCountry" so in the files xxx_checks.xml, you should replace : <property name="localeCountry" value="${checkstyle.localeCountry}"/> with <property name="localeLanguage" value="${checkstyle.localeCountry}"/> or better with <property name="localeLanguage" value="${checkstyle.localeLanguage}"/> and update the plugin.jelly file to define checkstyle.localeLanguage instead of checkstyle.localeCountry Eric Ballet Baz > The checkstyle report should use the maven.xdoc.locale.default > -------------------------------------------------------------- > > Key: MPCHECKSTYLE-39 > URL: http://jira.codehaus.org/browse/MPCHECKSTYLE-39 > Project: maven-checkstyle-plugin > Issue Type: Wish > Affects Versions: 2.5 > Environment: maven 1.1 beta 2 > Reporter: Arnaud Heritier > Assigned To: Arnaud Heritier > Fix For: 3.0 > > > The checkstyle locale is actually defined from the JVM and not from the > property : maven.xdoc.locale.default > If I have a project with maven.xdoc.locale.default=En but I build it on a > french system, the checkstyle report will be generated in French. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira