Use a proper property different from the maven-buildtime-extension one, fixes #389

This commit is contained in:
Guillaume Nodet
2021-04-12 09:28:31 +02:00
parent 013d893ab1
commit 5815f7b992
3 changed files with 9 additions and 4 deletions

View File

@@ -231,7 +231,11 @@ public enum Environment {
* Internal property to tell the daemon which JAVA_HOME was used to start it. It needs to be passed explicitly
* because the value may differ from what the daemon sees through <code>System.getProperty("java.home")</code>.
*/
MVND_JAVA_HOME("mvnd.java.home", null, null, OptionType.PATH, Flags.INTERNAL);
MVND_JAVA_HOME("mvnd.java.home", null, null, OptionType.PATH, Flags.INTERNAL),
/**
* Log mojos execution time at the end of the build.
*/
MVND_BUILD_TIME("mvnd.buildTime", null, null, OptionType.BOOLEAN, Flags.NONE);
static Properties properties;