The maven.multiModuleProjectDirectory is badly set when using -f [path-to-pom], fixes #484

This commit is contained in:
Guillaume Nodet
2021-10-06 11:48:58 +02:00
parent a02286fc15
commit 30e1747d84
10 changed files with 182 additions and 8 deletions

View File

@@ -96,6 +96,8 @@ public enum Environment {
MAVEN_REPO_LOCAL("maven.repo.local", null, null, OptionType.PATH, Flags.NONE),
/** The location of the maven settings file */
MAVEN_SETTINGS("maven.settings", null, null, OptionType.PATH, Flags.NONE, "mvn:-s", "mvn:--settings"),
/** The pom or directory to build */
MAVEN_FILE(null, null, null, OptionType.PATH, Flags.NONE, "mvn:-f", "mvn:--file"),
/** The root directory of the current multi module Maven project */
MAVEN_MULTIMODULE_PROJECT_DIRECTORY("maven.multiModuleProjectDirectory", null, null, OptionType.PATH, Flags.NONE),
/** Log file */