public abstract class AbstractMavenExecutor extends java.lang.Object implements MavenExecutor, org.codehaus.plexus.logging.LogEnabled
Modifier and Type | Field and Description |
---|---|
private org.codehaus.plexus.logging.Logger |
logger |
ROLE
Modifier | Constructor and Description |
---|---|
protected |
AbstractMavenExecutor() |
Modifier and Type | Method and Description |
---|---|
void |
enableLogging(org.codehaus.plexus.logging.Logger logger) |
void |
executeGoals(java.io.File workingDirectory,
java.lang.String goals,
boolean interactive,
java.lang.String additionalArguments,
ReleaseResult result)
Execute goals using Maven.
|
void |
executeGoals(java.io.File workingDirectory,
java.lang.String goals,
boolean interactive,
java.lang.String additionalArguments,
java.lang.String pomFileName,
ReleaseResult result)
Execute goals using Maven.
|
protected org.codehaus.plexus.logging.Logger |
getLogger() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
executeGoals, executeGoals
public void executeGoals(java.io.File workingDirectory, java.lang.String goals, boolean interactive, java.lang.String additionalArguments, java.lang.String pomFileName, ReleaseResult result) throws MavenExecutorException
MavenExecutor
executeGoals
in interface MavenExecutor
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 onMavenExecutorException
- if an error occurred executing Mavenpublic void executeGoals(java.io.File workingDirectory, java.lang.String goals, boolean interactive, java.lang.String additionalArguments, ReleaseResult result) throws MavenExecutorException
MavenExecutor
executeGoals
in interface MavenExecutor
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 commandMavenExecutorException
- if an error occurred executing Mavenprotected final org.codehaus.plexus.logging.Logger getLogger()
public void enableLogging(org.codehaus.plexus.logging.Logger logger)
enableLogging
in interface org.codehaus.plexus.logging.LogEnabled