@Component(role=MavenExecutor.class, hint="forked-path") public class ForkedMavenExecutor extends AbstractMavenExecutor
Constructor and Description |
---|
ForkedMavenExecutor() |
Modifier and Type | Method and Description |
---|---|
static 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) |
void |
setCommandLineFactory(CommandLineFactory commandLineFactory)
Setter for the field
commandLineFactory . |
enableLogging, encryptSettings, executeGoals, getLogger, getSettingsWriter
public void executeGoals(File workingDirectory, List<String> goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult relResult) throws MavenExecutorException
executeGoals
in class AbstractMavenExecutor
MavenExecutorException
public void setCommandLineFactory(CommandLineFactory commandLineFactory)
Setter for the field commandLineFactory
.
commandLineFactory
- a CommandLineFactory
objectpublic static int executeCommandLine(org.codehaus.plexus.util.cli.Commandline cl, InputStream systemIn, OutputStream systemOut, OutputStream systemErr) throws org.codehaus.plexus.util.cli.CommandLineException
executeCommandLine.
cl
- a Commandline
objectsystemIn
- a InputStream
objectsystemOut
- a OutputStream
objectsystemErr
- a OutputStream
objectorg.codehaus.plexus.util.cli.CommandLineException
- if any.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.