Package org.apache.maven.plugins.release
Class PrepareWithPomReleaseMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.apache.maven.plugins.release.AbstractReleaseMojo
org.apache.maven.plugins.release.AbstractScmReleaseMojo
org.apache.maven.plugins.release.PrepareReleaseMojo
org.apache.maven.plugins.release.PrepareWithPomReleaseMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="prepare-with-pom",
aggregator=true,
requiresDependencyResolution=TEST)
public class PrepareWithPomReleaseMojo
extends PrepareReleaseMojo
Prepare for a release in SCM, fully resolving dependencies for the purpose of producing a "release POM".
- Since:
- 2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
Whether to generaterelease-pom.xml
files that contain resolved information about the project.Fields inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
project, releaseManager, session
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugins.release.PrepareReleaseMojo
prepareRelease
Methods inherited from class org.apache.maven.plugins.release.AbstractScmReleaseMojo
buildScm, createReleaseDescriptor
Methods inherited from class org.apache.maven.plugins.release.AbstractReleaseMojo
addArgument, getAdditionalProfiles, getBasedir, getCommonBasedir, getReactorProjects, getReleaseEnvironment, getSettings, setBasedir, setPomFileName, setReleaseManager
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
generateReleasePoms
@Parameter(defaultValue="true", property="generateReleasePoms") private boolean generateReleasePomsWhether to generaterelease-pom.xml
files that contain resolved information about the project.
-
-
Constructor Details
-
PrepareWithPomReleaseMojo
public PrepareWithPomReleaseMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Specified by:
execute
in interfaceorg.apache.maven.plugin.Mojo
- Overrides:
execute
in classPrepareReleaseMojo
- Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
-