mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-08 08:27:45 +00:00
@@ -191,7 +191,9 @@ public class DaemonParameters {
|
||||
|
||||
public Path daemonStorage() {
|
||||
return value(Environment.MVND_DAEMON_STORAGE)
|
||||
.orEnvironmentVariable()
|
||||
.orSystemProperty()
|
||||
.orLocalProperty(provider, globalPropertiesPath())
|
||||
.orDefault(
|
||||
() -> userHome().resolve(".m2/mvnd/registry/" + BuildProperties.getInstance().getVersion()).toString())
|
||||
.asPath();
|
||||
|
@@ -125,7 +125,7 @@ public enum Environment {
|
||||
* The directory under which the daemon stores its registry, log files, etc.
|
||||
* Default: <code>${user.home}/.m2/mvnd</code>
|
||||
*/
|
||||
MVND_DAEMON_STORAGE("mvnd.daemonStorage", null, null, OptionType.PATH, Flags.NONE),
|
||||
MVND_DAEMON_STORAGE("mvnd.daemonStorage", "MVND_DAEMON_STORAGE", null, OptionType.PATH, Flags.NONE),
|
||||
/**
|
||||
* The path to the daemon registry.
|
||||
* Default: <code>${mvnd.daemonStorage}/registry.bin</code>
|
||||
|
Reference in New Issue
Block a user