@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/usage/prepare-release.html.project, releaseManager, session
Constructor and Description |
---|
PrepareReleaseMojo() |
Modifier and Type | Method and Description |
---|---|
void |
execute() |
protected String |
getAdditionalProfiles()
Gets the comma separated list of additional profiles for the release build.
|
protected void |
prepareRelease(boolean generateReleasePoms)
prepareRelease.
|
buildScm, createReleaseDescriptor
addArgument, getBasedir, getProject, getReactorProjects, getReleaseEnvironment, setBasedir, setPomFileName
protected String getAdditionalProfiles()
getAdditionalProfiles
in class AbstractReleaseMojo
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–2024 The Apache Software Foundation. All rights reserved.