public interface MavenExecutor
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ROLE
Plexus Role.
|
Modifier and Type | Method and Description |
---|---|
void |
executeGoals(java.io.File workingDirectory,
java.lang.String goals,
boolean interactive,
java.lang.String additionalArguments,
ReleaseResult result)
Deprecated.
|
void |
executeGoals(java.io.File workingDirectory,
java.lang.String goals,
boolean interactive,
java.lang.String additionalArguments,
java.lang.String pomFileName,
ReleaseResult result)
Deprecated.
|
void |
executeGoals(java.io.File workingDirectory,
java.lang.String goals,
ReleaseEnvironment releaseEnvironment,
boolean interactive,
java.lang.String additionalArguments,
ReleaseResult result)
Execute goals using Maven.
|
void |
executeGoals(java.io.File workingDirectory,
java.lang.String goals,
ReleaseEnvironment releaseEnvironment,
boolean interactive,
java.lang.String additionalArguments,
java.lang.String pomFileName,
ReleaseResult result)
Execute goals using Maven.
|
void executeGoals(java.io.File workingDirectory, java.lang.String goals, ReleaseEnvironment releaseEnvironment, boolean interactive, java.lang.String additionalArguments, java.lang.String pomFileName, ReleaseResult result) throws MavenExecutorException
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 Mavenvoid executeGoals(java.io.File workingDirectory, java.lang.String goals, ReleaseEnvironment releaseEnvironment, boolean interactive, java.lang.String additionalArguments, ReleaseResult result) throws MavenExecutorException
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 Mavenvoid executeGoals(java.io.File workingDirectory, java.lang.String goals, boolean interactive, java.lang.String additionalArguments, java.lang.String pomFileName, ReleaseResult result) throws MavenExecutorException
executeGoals(File, String, ReleaseEnvironment, boolean, String, String, ReleaseResult)
insteadworkingDirectory
- the directory to execute ingoals
- the goals to run (space delimited)interactive
- 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 Mavenvoid executeGoals(java.io.File workingDirectory, java.lang.String goals, boolean interactive, java.lang.String additionalArguments, ReleaseResult result) throws MavenExecutorException
executeGoals(File, String, ReleaseEnvironment, boolean, String, ReleaseResult)
insteadworkingDirectory
- the directory to execute ingoals
- the goals to run (space delimited)interactive
- whether to execute in interactive mode, or the default batch modeadditionalArguments
- additional arguments to pass to the Maven commandMavenExecutorException
- if an error occurred executing Maven