Package org.apache.maven.it
Class ForkedLauncher
java.lang.Object
org.apache.maven.it.ForkedLauncher
- All Implemented Interfaces:
MavenLauncher
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionForkedLauncher
(String mavenHome) ForkedLauncher
(String mavenHome, Map<String, String> envVars, boolean debugJvm) ForkedLauncher
(String mavenHome, Map<String, String> envVars, boolean debugJvm, boolean wrapper) -
Method Summary
Modifier and TypeMethodDescription(package private) static String
extractMavenVersion
(List<String> logLines) private static boolean
int
run
(String[] cliArgs, Properties systemProperties, String workingDirectory, File logFile) int
run
(String[] cliArgs, Properties systemProperties, Map<String, String> envVars, String workingDirectory, File logFile)
-
Field Details
-
mavenHome
-
executable
-
envVars
-
-
Constructor Details
-
ForkedLauncher
ForkedLauncher(String mavenHome) -
ForkedLauncher
-
ForkedLauncher
-
-
Method Details
-
run
public int run(String[] cliArgs, Properties systemProperties, Map<String, String> envVars, String workingDirectory, File logFile) throws IOException, LauncherException- Throws:
IOException
LauncherException
-
run
public int run(String[] cliArgs, Properties systemProperties, String workingDirectory, File logFile) throws IOException, LauncherException - Specified by:
run
in interfaceMavenLauncher
- Throws:
IOException
LauncherException
-
getMavenVersion
- Specified by:
getMavenVersion
in interfaceMavenLauncher
- Throws:
IOException
LauncherException
-
extractMavenVersion
-
isWindows
private static boolean isWindows()
-