Set the maven.multiModuleProjectDirectory system property which may be used by plugins

This commit is contained in:
Guillaume Nodet
2019-10-18 14:10:29 +02:00
parent 2a1eae69ac
commit a9ae084fb9

View File

@@ -200,6 +200,7 @@ public class DaemonMavenCli
"-D%s system property is not set.", MULTIMODULE_PROJECT_DIRECTORY );
throw new ExitException( 1 );
}
System.setProperty( "maven.multiModuleProjectDirectory", cliRequest.multiModuleProjectDirectory.toString() );
//
// Make sure the Maven home directory is an absolute path to save us from confusion with say drive-relative