elharo commented on code in PR #267:
URL:
https://github.com/apache/maven-invoker-plugin/pull/267#discussion_r1874506050
##########
src/main/java/org/apache/maven/plugins/invoker/InvokerSession.java:
##########
@@ -210,7 +212,8 @@ public void logFailedBuildLog(Log logger, boolean
ignoreFailures) throws MojoFai
buildLogMessage.append(System.lineSeparator());
buildLogMessage.append("*** begin build.log for: " +
buildJob.getProject() + " ***");
buildLogMessage.append(System.lineSeparator());
- try (FileReader buildLogReader = new
FileReader(buildLogFile)) {
+ try (Reader buildLogReader =
+ Files.newBufferedReader(buildLogFile.toPath(),
StandardCharsets.UTF_8)) {
Review Comment:
done
--
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]