You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Elliotte Rusty Harold (Jira)" <ji...@apache.org> on 2024/05/22 12:02:00 UTC
[jira] [Created] (MDEP-930) runTreeMojo in TestTreeMojo ignores encoding
Elliotte Rusty Harold created MDEP-930:
------------------------------------------
Summary: runTreeMojo in TestTreeMojo ignores encoding
Key: MDEP-930
URL: https://issues.apache.org/jira/browse/MDEP-930
Project: Maven Dependency Plugin
Issue Type: Test
Reporter: Elliotte Rusty Harold
Should probably use something like Files.readAllLines witha charset or equivalent instead here.
```
BufferedReader fp1 = new BufferedReader(new FileReader(outputFileName));
List<String> contents = new ArrayList<>();
String line;
while ((line = fp1.readLine()) != null) {
contents.add(line);
}
fp1.close();
```
--
This message was sent by Atlassian Jira
(v8.20.10#820010)