Package org.apache.maven.shared.verifier
Class ForkedLauncher
java.lang.Object
org.apache.maven.shared.verifier.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 StringextractMavenVersion(List<String> logLines) private static booleanintrun(String[] cliArgs, Properties systemProperties, String workingDirectory, File logFile) intrun(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:
IOExceptionLauncherException
-
run
public int run(String[] cliArgs, Properties systemProperties, String workingDirectory, File logFile) throws IOException, LauncherException - Specified by:
runin interfaceMavenLauncher- Throws:
IOExceptionLauncherException
-
getMavenVersion
- Specified by:
getMavenVersionin interfaceMavenLauncher- Throws:
IOExceptionLauncherException
-
extractMavenVersion
-
isWindows
private static boolean isWindows()
-