mirror of
https://github.com/apache/maven.git
synced 2025-02-12 21:15:39 +00:00
A call to context.getSystemProperties() may yield an empty map, or one missing the desired key, which makes a subsequent call of toLowerCase fail with a NullPointerException. Fall-back to using system properties with the Os.OS_NAME and similar values instead. --------- Co-authored-by: Christian Kohlschütter <christian@kohlschutter.com>