mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-11 13:39:32 +00:00
This commit is contained in:
@@ -490,7 +490,7 @@ public class DaemonParameters {
|
|||||||
result.load(in);
|
result.load(in);
|
||||||
Properties sysProps = new Properties();
|
Properties sysProps = new Properties();
|
||||||
sysProps.putAll(System.getProperties());
|
sysProps.putAll(System.getProperties());
|
||||||
System.getenv().forEach((k, v) -> sysProps.put(k, ENV_PREFIX + v));
|
System.getenv().forEach((k, v) -> sysProps.put(ENV_PREFIX + k, v));
|
||||||
InterpolationHelper.performSubstitution(result, sysProps::getProperty, true, true);
|
InterpolationHelper.performSubstitution(result, sysProps::getProperty, true, true);
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
throw new RuntimeException("Could not read " + path);
|
throw new RuntimeException("Could not read " + path);
|
||||||
|
Reference in New Issue
Block a user