@Mojo(name="prepare", aggregator=true, requiresDependencyCollection=TEST) public class PrepareReleaseMojo extends AbstractScmReleaseMojo
release:perform
. For more info see https://maven.apache.org/plugins/maven-release-plugin/examples/prepare-release.html.project, releaseManager, session
Constructor and Description |
---|
PrepareReleaseMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected void |
prepareRelease(boolean generateReleasePoms)
prepareRelease.
|
buildScm, createReleaseDescriptor
addArgument, getAdditionalProfiles, getBasedir, getProject, getReactorProjects, getReleaseEnvironment, setBasedir, setPomFileName
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
execute
in interface org.apache.maven.plugin.Mojo
execute
in class AbstractScmReleaseMojo
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void prepareRelease(boolean generateReleasePoms) throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
prepareRelease.
generateReleasePoms
- a booleanorg.apache.maven.plugin.MojoExecutionException
- if any.org.apache.maven.plugin.MojoFailureException
- if any.Copyright © 2002–2022 The Apache Software Foundation. All rights reserved.