|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MavenExecutor
Execute Maven. May be implemented as a forked instance, or embedded.
Field Summary | |
---|---|
static String |
ROLE
Plexus Role. |
Method Summary | |
---|---|
void |
executeGoals(File workingDirectory,
String goals,
boolean interactive,
String additionalArguments,
ReleaseResult result)
Deprecated. Use executeGoals(File, String, ReleaseEnvironment, boolean, String, ReleaseResult) instead |
void |
executeGoals(File workingDirectory,
String goals,
boolean interactive,
String additionalArguments,
String pomFileName,
ReleaseResult result)
Deprecated. Use executeGoals(File, String, ReleaseEnvironment, boolean, String, String, ReleaseResult) instead |
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. |
Field Detail |
---|
static final String ROLE
Method Detail |
---|
void executeGoals(File workingDirectory, String goals, ReleaseEnvironment releaseEnvironment, boolean interactive, String additionalArguments, 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 onresult
- holds all results of the execution
MavenExecutorException
- if an error occurred executing Mavenvoid executeGoals(File workingDirectory, String goals, ReleaseEnvironment releaseEnvironment, boolean interactive, 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 commandresult
- holds all results of the execution
MavenExecutorException
- if an error occurred executing Mavenvoid executeGoals(File workingDirectory, String goals, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult result) throws MavenExecutorException
executeGoals(File, String, ReleaseEnvironment, boolean, String, String, ReleaseResult)
instead
workingDirectory
- 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 onresult
- holds all results of the execution
MavenExecutorException
- if an error occurred executing Mavenvoid executeGoals(File workingDirectory, String goals, boolean interactive, String additionalArguments, ReleaseResult result) throws MavenExecutorException
executeGoals(File, String, ReleaseEnvironment, boolean, String, ReleaseResult)
instead
workingDirectory
- 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 commandresult
- holds all results of the execution
MavenExecutorException
- if an error occurred executing Maven
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |