mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-27 16:08:21 +00:00
Should support core extensions #114
This commit is contained in:
@@ -39,6 +39,14 @@ public class DaemonCompatibilitySpec {
|
||||
this.options = Objects.requireNonNull(options, "options");
|
||||
}
|
||||
|
||||
public Path getJavaHome() {
|
||||
return javaHome;
|
||||
}
|
||||
|
||||
public List<String> getOptions() {
|
||||
return options;
|
||||
}
|
||||
|
||||
public Result isSatisfiedBy(DaemonInfo daemon) {
|
||||
if (!javaHomeMatches(daemon)) {
|
||||
return new Result(false, () -> "Java home is different.\n" + diff(daemon));
|
||||
|
@@ -57,7 +57,15 @@ public enum Environment {
|
||||
* line.
|
||||
*/
|
||||
MVND_THREADS("mvnd.threads", null),
|
||||
DAEMON_UID("daemon.uid", null);
|
||||
DAEMON_UID("daemon.uid", null),
|
||||
/**
|
||||
* Internal option to specify the maven extension classpath
|
||||
*/
|
||||
DAEMON_EXT_CLASSPATH("daemon.ext.classpath", null),
|
||||
/**
|
||||
* Internal option to specify the list of maven extension to register
|
||||
*/
|
||||
DAEMON_CORE_EXTENSIONS("daemon.core.extensions", null);
|
||||
|
||||
public static final int DEFAULT_IDLE_TIMEOUT = (int) TimeUnit.HOURS.toMillis(3);
|
||||
|
||||
|
Reference in New Issue
Block a user