public abstract class AbstractMavenExecutor extends Object implements MavenExecutor, org.codehaus.plexus.logging.LogEnabled
ROLE| Modifier | Constructor and Description |
|---|---|
protected |
AbstractMavenExecutor() |
| Modifier and Type | Method and Description |
|---|---|
void |
enableLogging(org.codehaus.plexus.logging.Logger logger) |
void |
executeGoals(File workingDirectory,
String goals,
boolean interactive,
String additionalArguments,
ReleaseResult result)
Execute goals using Maven.
|
void |
executeGoals(File workingDirectory,
String goals,
boolean interactive,
String additionalArguments,
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, waitexecuteGoals, executeGoalspublic void executeGoals(File workingDirectory, String goals, boolean interactive, String additionalArguments, String pomFileName, ReleaseResult result) throws MavenExecutorException
MavenExecutorexecuteGoals in interface MavenExecutorworkingDirectory - 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(File workingDirectory, String goals, boolean interactive, String additionalArguments, ReleaseResult result) throws MavenExecutorException
MavenExecutorexecuteGoals in interface MavenExecutorworkingDirectory - 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.LogEnabledCopyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.