public abstract class AbstractRunGoalsPhase extends AbstractReleasePhase
| Modifier and Type | Field and Description |
|---|---|
private java.util.Map<java.lang.String,MavenExecutor> |
mavenExecutors
Component to assist in executing Maven.
|
ROLE| Constructor and Description |
|---|
AbstractRunGoalsPhase() |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.File |
determineWorkingDirectory(java.io.File checkoutDirectory,
java.lang.String relativePathProjectDirectory)
Determines the path of the working directory.
|
ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
java.io.File workingDirectory,
java.lang.String additionalArguments)
Deprecated.
|
ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
java.io.File workingDirectory,
java.lang.String additionalArguments) |
protected abstract java.lang.String |
getGoals(ReleaseDescriptor releaseDescriptor) |
void |
setMavenExecutor(MavenExecutor mavenExecutor)
Deprecated.
Use
setMavenExecutor(String, MavenExecutor) instead. |
void |
setMavenExecutor(java.lang.String id,
MavenExecutor executor) |
clean, execute, getReleaseResultSuccess, logDebug, logError, logInfo, logWarn, simulateenableLogging, getLogger, setupLogger, setupLogger, setupLoggerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, simulateprivate java.util.Map<java.lang.String,MavenExecutor> mavenExecutors
public ReleaseResult execute(ReleaseDescriptor releaseDescriptor, java.io.File workingDirectory, java.lang.String additionalArguments) throws ReleaseExecutionException
execute(ReleaseDescriptor, ReleaseEnvironment, File, String) instead.ReleaseExecutionExceptionpublic ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, java.io.File workingDirectory, java.lang.String additionalArguments) throws ReleaseExecutionException
ReleaseExecutionExceptionpublic void setMavenExecutor(MavenExecutor mavenExecutor)
setMavenExecutor(String, MavenExecutor) instead.public void setMavenExecutor(java.lang.String id,
MavenExecutor executor)
protected abstract java.lang.String getGoals(ReleaseDescriptor releaseDescriptor)
protected java.io.File determineWorkingDirectory(java.io.File checkoutDirectory,
java.lang.String relativePathProjectDirectory)
checkoutDirectory - The checkout directory as java.io.FilerelativePathProjectDirectory - The relative path of the project directory within the checkout
directory or ""