Closed michaelabuckley closed 3 years ago
This issue is blocking https://issues.apache.org/jira/browse/MNG-7165 (and considered a regression).
Looking at the comment of the try/catch block of https://github.com/fusesource/jansi/blob/jansi-2.3.2/src/main/java/org/fusesource/jansi/AnsiConsole.java#L239-L250 the fd
initialization should be done inside the try-block.
@rfscholte - I just did the dumb thing
try {
AnsiConsole.systemInstall();
} catch (Error e) {
// log some stuff
}
I don't think that will work in our case, The library maven-shared-utils is used by both Maven and maven-plugins, they can all have their own version. JAnsi is bundled with Maven, so we could fix it for Maven, but not for the plugins.
FYI - https://github.com/java-native-access/jna supports Mac ARM now. That might be easier that shipping your own dlls.
No native code included for arm. macOS 11.2.3 Apple M1 Jansi 2.3.2
Output of uname -a