public class PerformReleaseMojo extends AbstractReleaseMojo
| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
connectionUrl
The SCM URL to checkout from.
|
private java.lang.String |
goals
A space separated list of goals to execute on deployment.
|
private java.lang.String |
releaseProfiles
Comma separated profiles to enable on deployment, in addition to active profiles for project execution.
|
private boolean |
useReleaseProfile
Whether to use the release profile that adds sources and javadocs to the released artifact, if appropriate.
|
private java.io.File |
workingDirectory
The checkout directory.
|
basedir, javaHome, localRepoDirectory, mavenExecutorId, mavenHome, project, reactorProjects, releaseManager, session, settings| Constructor and Description |
|---|
PerformReleaseMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
protected java.lang.String |
getAdditionalProfiles()
Gets the comma separated list of additional profiles for the release build.
|
addArgument, createReleaseDescriptor, getReactorProjects, getReleaseEnvironment, getSettings, mergeCommandLineConfig, setBasedir, setReleaseManagerprivate java.lang.String goals
deploy or
deploy site-deploy, if the project has a <distributionManagement>/<site> element.private java.lang.String releaseProfiles
private java.io.File workingDirectory
private java.lang.String connectionUrl
release.properties file is used, followed
by the URL from the current POM.private boolean useReleaseProfile
protected java.lang.String getAdditionalProfiles()
getAdditionalProfiles in class AbstractReleaseMojopublic void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
execute in interface org.apache.maven.plugin.Mojoexecute in class AbstractReleaseMojoorg.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException