os-maven-plugin
os-maven-plugin copied to clipboard
Detected os.name when running on Apple Silicon M1
Apparently Zulu reports the value of "os.name" to be "Mac". The code currently looks for "macosx" or "osx".
Hmm... Homebrew's OpenJDK 16.0.1, os.name
returns Mac OS X
, but ${os.detected.name}
still comes back as osx
. Any idea why it doesn't behave the same?
$(brew --prefix openjdk)/bin/java -XshowSettings:properties -version 2>&1 |grep os.name
# os.name = Mac OS X