mirror of https://github.com/apache/maven.git
Make sure the maven.multiModuleProjectDirectory envar is set for proper 3.3.1+ execution
This commit is contained in:
parent
f18d4302c0
commit
1cd6b2f185
|
@ -32,6 +32,7 @@ public class BootstrapMainStarter {
|
|||
Thread.currentThread().setContextClassLoader(contextClassLoader);
|
||||
Class<?> mainClass = contextClassLoader.loadClass("org.codehaus.plexus.classworlds.launcher.Launcher");
|
||||
|
||||
System.setProperty("maven.multiModuleProjectDirectory", System.getProperty("user.dir"));
|
||||
System.setProperty("maven.home", mavenHome.getAbsolutePath());
|
||||
System.setProperty("classworlds.conf", new File(mavenHome, "/bin/m2.conf").getAbsolutePath());
|
||||
|
||||
|
|
Loading…
Reference in New Issue