public class InvokerMavenExecutor extends AbstractMavenExecutor
ROLE
Constructor and Description |
---|
InvokerMavenExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
executeGoals(File workingDirectory,
String goals,
ReleaseEnvironment releaseEnvironment,
boolean interactive,
String additionalArguments,
ReleaseResult result)
Execute goals using Maven.
|
void |
executeGoals(File workingDirectory,
String goals,
ReleaseEnvironment releaseEnvironment,
boolean interactive,
String additionalArguments,
String pomFileName,
ReleaseResult result)
Execute goals using Maven.
|
enableLogging, executeGoals, executeGoals, getLogger
public void executeGoals(File workingDirectory, String goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult result) throws MavenExecutorException
MavenExecutor
workingDirectory
- 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 additionalArguments, ReleaseResult result) throws MavenExecutorException
MavenExecutor
workingDirectory
- 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 commandMavenExecutorException
- if an error occurred executing MavenCopyright © 2002-2012 Apache Software Foundation. All Rights Reserved.