Class ForkedMavenExecutor
java.lang.Object
org.apache.maven.shared.release.exec.AbstractMavenExecutor
org.apache.maven.shared.release.exec.ForkedMavenExecutor
- All Implemented Interfaces:
MavenExecutor
Fork Maven to execute a series of goals.
- Author:
- Brett Porter
-
Constructor Summary
ConstructorsConstructorDescriptionForkedMavenExecutor(MavenCrypto mavenCrypto, CommandLineFactory commandLineFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic intexecuteCommandLine(org.codehaus.plexus.util.cli.Commandline cl, InputStream systemIn, OutputStream systemOut, OutputStream systemErr) executeCommandLine.voidexecuteGoals(File workingDirectory, List<String> goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult relResult) Methods inherited from class org.apache.maven.shared.release.exec.AbstractMavenExecutor
encryptSettings, executeGoals, getLogger, getSettingsWriter
-
Constructor Details
-
Method Details
-
executeCommandLine
public static int executeCommandLine(org.codehaus.plexus.util.cli.Commandline cl, InputStream systemIn, OutputStream systemOut, OutputStream systemErr) throws org.codehaus.plexus.util.cli.CommandLineException executeCommandLine.
- Parameters:
cl- aCommandlineobjectsystemIn- aInputStreamobjectsystemOut- aOutputStreamobjectsystemErr- aOutputStreamobject- Returns:
- a int
- Throws:
org.codehaus.plexus.util.cli.CommandLineException- if any.