public abstract class AbstractRunGoalsPhase extends AbstractReleasePhase
Modifier | Constructor and Description |
---|---|
protected |
AbstractRunGoalsPhase(Map<String,MavenExecutor> mavenExecutors) |
Modifier and Type | Method and Description |
---|---|
protected File |
determineWorkingDirectory(File checkoutDirectory,
String relativePathProjectDirectory)
Determines the path of the working directory.
|
protected ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
File workingDirectory,
String additionalArguments,
boolean logArguments) |
protected ReleaseResult |
execute(ReleaseDescriptor releaseDescriptor,
ReleaseEnvironment releaseEnvironment,
List<org.apache.maven.project.MavenProject> reactorProjects,
boolean logArguments) |
protected String |
getAdditionalArguments(ReleaseDescriptor releaseDescriptor) |
protected abstract String |
getGoals(ReleaseDescriptor releaseDescriptor) |
getLogger, getReleaseResultSuccess, logDebug, logDebug, logError, logInfo, logWarn
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
execute, simulate
protected AbstractRunGoalsPhase(Map<String,MavenExecutor> mavenExecutors)
protected ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, List<org.apache.maven.project.MavenProject> reactorProjects, boolean logArguments) throws ReleaseExecutionException
ReleaseExecutionException
protected ReleaseResult execute(ReleaseDescriptor releaseDescriptor, ReleaseEnvironment releaseEnvironment, File workingDirectory, String additionalArguments, boolean logArguments) 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–2024 The Apache Software Foundation. All rights reserved.