Pass the mvnd.daemon.storage system property to the daemon as it is used to store daemon log events

This commit is contained in:
Guillaume Nodet
2020-11-06 08:59:28 +01:00
parent 5a7bab581c
commit b78d4c6a0a

View File

@@ -272,6 +272,7 @@ public class DaemonConnector {
args.add(Environment.LOGBACK_CONFIGURATION_FILE args.add(Environment.LOGBACK_CONFIGURATION_FILE
.asCommandLineProperty(parameters.logbackConfigurationPath().toString())); .asCommandLineProperty(parameters.logbackConfigurationPath().toString()));
args.add(Environment.DAEMON_UID.asCommandLineProperty(uid)); args.add(Environment.DAEMON_UID.asCommandLineProperty(uid));
args.add(Environment.MVND_DAEMON_STORAGE.asCommandLineProperty(parameters.daemonStorage().toString()));
args.add(Environment.DAEMON_REGISTRY.asCommandLineProperty(parameters.registry().toString())); args.add(Environment.DAEMON_REGISTRY.asCommandLineProperty(parameters.registry().toString()));
args.addAll(parameters.getDaemonCommandLineProperties()); args.addAll(parameters.getDaemonCommandLineProperties());
args.add(MavenDaemon.class.getName()); args.add(MavenDaemon.class.getName());