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
ConstructorDescriptionForkedMavenExecutor
(MavenCrypto mavenCrypto, CommandLineFactory commandLineFactory) -
Method Summary
Modifier and TypeMethodDescriptionstatic int
executeCommandLine
(org.codehaus.plexus.util.cli.Commandline cl, InputStream systemIn, OutputStream systemOut, OutputStream systemErr) executeCommandLine.void
executeGoals
(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
- aCommandline
objectsystemIn
- aInputStream
objectsystemOut
- aOutputStream
objectsystemErr
- aOutputStream
object- Returns:
- a int
- Throws:
org.codehaus.plexus.util.cli.CommandLineException
- if any.