public class ForkedMavenExecutor extends AbstractMavenExecutor
ROLE| 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) |
void |
executeGoals(File workingDirectory,
String goals,
ReleaseEnvironment releaseEnvironment,
boolean interactive,
String arguments,
ReleaseResult result)
Execute goals using Maven.
|
void |
executeGoals(File workingDirectory,
String goals,
ReleaseEnvironment releaseEnvironment,
boolean interactive,
String additionalArguments,
String pomFileName,
ReleaseResult relResult)
Execute goals using Maven.
|
void |
setCommandLineFactory(CommandLineFactory commandLineFactory) |
enableLogging, executeGoals, executeGoals, getLoggerpublic void executeGoals(File workingDirectory, String goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult relResult) throws MavenExecutorException
MavenExecutorworkingDirectory - the directory to execute ingoals - the goals to run (space delimited)releaseEnvironment - the environmental settings, maven-home, etc used for this releaseinteractive - whether to execute in interactive mode, or the default batch modeadditionalArguments - additional arguments to pass to the Maven commandpomFileName - the file name of the POM to execute onMavenExecutorException - if an error occurred executing Mavenpublic void executeGoals(File workingDirectory, String goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String arguments, ReleaseResult result) throws MavenExecutorException
MavenExecutorworkingDirectory - the directory to execute ingoals - the goals to run (space delimited)releaseEnvironment - the environmental settings, maven-home, etc used for this releaseinteractive - whether to execute in interactive mode, or the default batch modearguments - additional arguments to pass to the Maven commandMavenExecutorException - if an error occurred executing Mavenpublic void setCommandLineFactory(CommandLineFactory commandLineFactory)
public static int executeCommandLine(org.codehaus.plexus.util.cli.Commandline cl,
InputStream systemIn,
OutputStream systemOut,
OutputStream systemErr)
throws org.codehaus.plexus.util.cli.CommandLineException
org.codehaus.plexus.util.cli.CommandLineExceptionCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.