public abstract class AbstractReleaseMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
basedir |
protected java.io.File |
javaHome
The JAVA_HOME parameter to use for forked Maven invocations.
|
protected java.io.File |
localRepoDirectory
The command-line local repository directory in use for this build (if specified).
|
protected java.lang.String |
mavenExecutorId
Role hint of the
MavenExecutor implementation to use. |
protected java.io.File |
mavenHome
The M2_HOME parameter to use for forked Maven invocations.
|
protected org.apache.maven.project.MavenProject |
project |
protected java.util.List |
reactorProjects |
protected ReleaseManager |
releaseManager |
protected org.apache.maven.settings.Settings |
settings |
| Constructor and Description |
|---|
AbstractReleaseMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addArgument(java.lang.String argument)
Add additional arguments.
|
protected ReleaseDescriptor |
createReleaseDescriptor()
Creates the release descriptor from the various goal parameters.
|
void |
execute() |
protected java.lang.String |
getAdditionalProfiles()
Gets the comma separated list of additional profiles for the release build.
|
java.util.List |
getReactorProjects()
Gets the list of projects in the build reactor.
|
protected ReleaseEnvironment |
getReleaseEnvironment()
Gets the enviroment settings configured for this release.
|
void |
setBasedir(java.io.File basedir)
Sets the base directory of the build.
|
protected java.io.File basedir
protected org.apache.maven.settings.Settings settings
protected org.apache.maven.project.MavenProject project
protected ReleaseManager releaseManager
protected java.util.List reactorProjects
protected java.io.File mavenHome
protected java.io.File javaHome
protected java.io.File localRepoDirectory
protected java.lang.String mavenExecutorId
MavenExecutor implementation to use.protected ReleaseEnvironment getReleaseEnvironment()
null.public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected ReleaseDescriptor createReleaseDescriptor()
null.protected java.lang.String getAdditionalProfiles()
public void setBasedir(java.io.File basedir)
basedir - The build's base directory, must not be null.public java.util.List getReactorProjects()
null.protected void addArgument(java.lang.String argument)
argument - The argument to add, must not be null.Copyright © 2002-2014 The Apache Software Foundation. All Rights Reserved.