|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.release.AbstractReleaseMojo
public abstract class AbstractReleaseMojo
Base class with shared configuration.
Field Summary | |
---|---|
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 org.apache.maven.shared.release.exec.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 org.apache.maven.shared.release.ReleaseManager |
releaseManager
|
protected org.apache.maven.settings.Settings |
settings
|
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractReleaseMojo()
|
Method Summary | |
---|---|
protected void |
addArgument(java.lang.String argument)
Add additional arguments. |
protected org.apache.maven.shared.release.config.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 org.apache.maven.shared.release.env.ReleaseEnvironment |
getReleaseEnvironment()
Gets the enviroment settings configured for this release. |
void |
setBasedir(java.io.File basedir)
Sets the base directory of the build. |
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.io.File basedir
protected org.apache.maven.settings.Settings settings
protected org.apache.maven.project.MavenProject project
protected org.apache.maven.shared.release.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
org.apache.maven.shared.release.exec.MavenExecutor
implementation to use.
Constructor Detail |
---|
public AbstractReleaseMojo()
Method Detail |
---|
protected org.apache.maven.shared.release.env.ReleaseEnvironment getReleaseEnvironment()
null
.public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected org.apache.maven.shared.release.config.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
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |