public abstract class AbstractRunGoalsPhase extends AbstractReleasePhase
ROLE
Constructor and Description |
---|
AbstractRunGoalsPhase() |
Modifier and Type | Method and Description |
---|---|
protected File |
determineWorkingDirectory(File checkoutDirectory,
String relativePathProjectDirectory)
Determines the path of the working directory.
|
ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
File workingDirectory,
String additionalArguments)
Deprecated.
|
ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
File workingDirectory,
String additionalArguments) |
protected abstract String |
getGoals(ReleaseDescriptor releaseDescriptor) |
void |
setMavenExecutor(MavenExecutor mavenExecutor)
Deprecated.
Use
setMavenExecutor(String, MavenExecutor) instead. |
void |
setMavenExecutor(String id,
MavenExecutor executor) |
clean, execute, getReleaseResultSuccess, getResourceBundle, logDebug, logDebug, logError, logInfo, logWarn, simulate
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, simulate
public ReleaseResult execute(ReleaseDescriptor releaseDescriptor, File workingDirectory, String additionalArguments) throws ReleaseExecutionException
execute(ReleaseDescriptor, ReleaseEnvironment, File, String)
instead.ReleaseExecutionException
public ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, File workingDirectory, String additionalArguments) throws ReleaseExecutionException
ReleaseExecutionException
public void setMavenExecutor(MavenExecutor mavenExecutor)
setMavenExecutor(String, MavenExecutor)
instead.public void setMavenExecutor(String id, MavenExecutor executor)
protected abstract String getGoals(ReleaseDescriptor releaseDescriptor)
protected File determineWorkingDirectory(File checkoutDirectory, String relativePathProjectDirectory)
checkoutDirectory
- The checkout directory as java.io.FilerelativePathProjectDirectory
- The relative path of the project directory within the checkout
directory or ""Copyright © 2002–2014 The Apache Software Foundation. All rights reserved.