tkobayas commented on code in PR #5583:
URL:
https://github.com/apache/incubator-kie-drools/pull/5583#discussion_r1403817941
##########
.github/workflows/pr-drools.yml:
##########
@@ -43,6 +43,7 @@ jobs:
uses:
apache/incubator-kie-kogito-pipelines/.ci/actions/build-chain@main
env:
BUILD_MVN_OPTS_CURRENT: -Dfull
+ MAVEN_OPTS: "-Dfile.encoding=UTF-8"
Review Comment:
I tried `<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>`
in pom.xml, but it didn't solve the issue. Per my understanding, this issue
arises when the non-UTF-8 Windows writes a UTF-8 name class file. It's not
solved by a project configuration property, but `MAVEN_OPTS` affects the entire
mvn process, so the issue is solved. Probably another solution is to make
`MAVEN_OPTS="-Dfile.encoding=UTF-8"` as `build-chain`'s default.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]