@Mojo(name="branch",
aggregator=true)
public class PerformBranchMojo
extends AbstractPerformBranchReleaseMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
branchBase
The branch base directory in SVN, you must define it if you don't use the standard svn layout
(trunk/tags/branches).
|
protected boolean |
updateVersionsToSnapshot
Whether to update to SNAPSHOT versions in the branch.
|
addSchema, artifactId, autoVersionSubmodules, dryRun, javaHome, localRepoDirectory, mavenHome, releaseManager, settingsServerId, snapshotDevelopmentVersion, updateDependencies, username, workingDirectorybasedir, project, reactorProjects, session, settings| Constructor and Description |
|---|
PerformBranchMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected CxxReleaseDescriptor |
createReleaseDescriptor()
Creates the release descriptor from the various goal parameters.
|
void |
execute() |
getReleaseEnvironment@Parameter(property="branchBase") protected String branchBase
http://svn.apache.org/repos/asf/maven/plugins/branches. The URL
is an SVN URL and does not include the SCM provider and protocol.@Parameter(defaultValue="false",
property="updateVersionsToSnapshot")
protected boolean updateVersionsToSnapshot
protected CxxReleaseDescriptor createReleaseDescriptor()
AbstractPerformBranchReleaseMojocreateReleaseDescriptor in class AbstractPerformBranchReleaseMojonull.public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionCopyright © 2010–2017 Neticoa SAS. All rights reserved.