public abstract class AbstractRunGoalsPhase extends AbstractReleasePhase
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,
ReleaseEnvironment releaseEnvironment,
File workingDirectory,
String additionalArguments) |
protected String |
getAdditionalArguments(ReleaseDescriptor releaseDescriptor) |
protected abstract String |
getGoals(ReleaseDescriptor releaseDescriptor) |
getReleaseResultSuccess, logDebug, logDebug, logError, logInfo, logWarn
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, simulate
public ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, File workingDirectory, String additionalArguments) throws ReleaseExecutionException
ReleaseExecutionException
protected abstract String getGoals(ReleaseDescriptor releaseDescriptor)
protected String getAdditionalArguments(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–2022 The Apache Software Foundation. All rights reserved.