Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
236 views
in Technique[技术] by (71.8m points)

windows - How to resolve language problems in the building process?

I have a maven java/scala project and Windows 10 with english language. Projects has test with russian words and I have an error with the maven command - test compile.

The command is:

mvn compile test -DskipTests=false -Dcheckstyle.skip -Dskip.checkstyle -U -Dmaven.wagon.http.ssl.insecure=true -Dproject.build.sourceEncoding=UTF-8 -Duser.language=ru -Duser.country=RU

Error messages:

*** 5 TESTS FAILED ***
 Some("Иванов И.И.") was not equal to Some("?????? ?.?.")

Maven has the next settings:

mvn -version

Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:Program Filesapache-maven-3.6.3in..
Java version: 1.8.0_271, vendor: Oracle Corporation, runtime: C:Javajre
Default locale: ru -duser.country=ru_US, platform encoding: UTF-8
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"

Could you help me resolve the problem?

question from:https://stackoverflow.com/questions/65936710/how-to-resolve-language-problems-in-the-building-process

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...