|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.apache.maven.plugins.release.AbstractReleaseMojo
public abstract class AbstractReleaseMojo
Base class with shared configuration.
Field Summary | |
---|---|
protected File |
basedir
|
protected File |
javaHome
The JAVA_HOME parameter to use for forked Maven invocations. |
protected File |
localRepoDirectory
The command-line local repository directory in use for this build (if specified). |
protected String |
mavenExecutorId
Role hint of the org.apache.maven.shared.release.exec.MavenExecutor implementation to use. |
protected File |
mavenHome
The M2_HOME parameter to use for forked Maven invocations. |
protected org.apache.maven.project.MavenProject |
project
|
protected 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(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 String |
getAdditionalProfiles()
Gets the comma separated list of additional profiles for the release build. |
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(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 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 List reactorProjects
protected File mavenHome
protected File javaHome
protected File localRepoDirectory
protected 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 String getAdditionalProfiles()
public void setBasedir(File basedir)
basedir
- The build's base directory, must not be null
.public List getReactorProjects()
null
.protected void addArgument(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 |