[ https://issues.apache.org/jira/browse/MCHECKSTYLE-454?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17928028#comment-17928028 ]
Michael Osipov commented on MCHECKSTYLE-454: -------------------------------------------- I need to apply this: {noformat} $ git diff diff --git a/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java b/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java index bd30668..1565009 100644 --- a/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java +++ b/src/main/java/org/apache/maven/plugins/checkstyle/exec/DefaultCheckstyleExecutor.java @@ -109,6 +109,8 @@ public class DefaultCheckstyleExecutor implements CheckstyleExecutor { FilterSet filterSet = getSuppressionsFilterSet(suppressionsFilePath); Checker checker = new Checker(); + checker.setLocaleLanguage(""); + checker.setLocaleCountry(""); // setup classloader, needed to avoid "Unable to get class information for ..." errors List<String> classPathStrings = new ArrayList<>(); {noformat} like I did in MJAVADOC-803. > Running checkstyle:check when the project is on a path with accents fails > ------------------------------------------------------------------------- > > Key: MCHECKSTYLE-454 > URL: https://issues.apache.org/jira/browse/MCHECKSTYLE-454 > Project: Maven Checkstyle Plugin > Issue Type: Bug > Affects Versions: 3.4.0, 3.5.0, 3.6.0 > Reporter: Emmanuel Lécharny > Priority: Major > > PS: also tested with 3.6.0 which has been released, but you haven't marked it > as released in JIRA... > If the project I want to check is under a directory where a part of the path > contain accents, like: > {code} > /user/elecharny/téléchargement/apache-sshd-2.15.9 > {code} > then the checkstyle configuration file(in my case, sshd-checkstyle.xml) is > either not found, or ignored. > If I rename {{téléchargement}} to {{download}}, all is fine. -- This message was sent by Atlassian Jira (v8.20.10#820010)