Branch a project in SCM.
Mojo Attributes :
| Name | Type | Description |
|---|---|---|
| addSchema | boolean |
Whether to add a schema to the POM if it was previously missing on release. Default value is true. |
| arguments | String |
Additional arguments to pass to the Maven executions, separated by spaces. |
| autoVersionSubmodules | boolean |
Whether to automatically assign submodules the parent version. If set to false,
the user will be prompted for the version of each submodules. Default value is false. |
| branchName | String |
The branch name to use. |
| dryRun | boolean |
Dry run: don't checkin or tag anything in the scm repository, or modify the checkout.
Running mvn -DdryRun=true release:prepare is useful in order to check that modifications to
poms and scm operations (only listed on the console) are working as expected.
Modified POMs are written alongside the originals without modifying them. Default value is false. |
| password | String |
The SCM password to use. |
| pomFileName | String |
The file name of the POM to execute any goals against. |
| providerImplementations | Map |
List of provider implementations. |
| releaseManager | ReleaseManager |
No description. |
| scmCommentPrefix | String |
The message prefix to all scm changes Default value is [maven-release-plugin] . |
| scmManager | ScmManager |
The SCM manager. |
| tag | String |
The SCM tag to use. |
| tagBase | String |
The tag base directory in SVN, you must define it if you don't use the standard svn layout (trunk/tags/branches).
For example, http://svn.apache.org/repos/asf/maven/plugins/tags. The URL is an SVN URL and does not
include the SCM provider and protocol. |
| updateBranchVersions | boolean |
Whether to update versions in the branch. Default value is false. |
| updateDependencies | boolean |
Whether to update dependencies version to the next development version. Default value is true. |
| updateVersionsToSnapshot | boolean |
Whether to update versions to SNAPSHOT in the branch. Default value is true. |
| updateWorkingCopyVersions | boolean |
Whether to update versions in the working copy. Default value is true. |
| useEditMode | boolean |
Whether to use "edit" mode on the SCM, to lock the file for editing during SCM operations. Default value is false. |
| username | String |
The SCM username to use. |
Whether to add a schema to the POM if it was previously missing on release.
booleanNo${addSchema}trueAdditional arguments to pass to the Maven executions, separated by spaces.
java.lang.StringNo${arguments}Whether to automatically assign submodules the parent version. If set to false, the user will be prompted for the version of each submodules.
booleanNo${autoVersionSubmodules}falseThe branch name to use.
java.lang.StringNo${branchName}Dry run: don't checkin or tag anything in the scm repository, or modify the checkout.
Running mvn -DdryRun=true release:prepare is useful in order to check that modifications to
poms and scm operations (only listed on the console) are working as expected.
Modified POMs are written alongside the originals without modifying them.
booleanNo${dryRun}falseThe SCM password to use.
java.lang.StringNo${password}The file name of the POM to execute any goals against.
java.lang.StringNo${pomFileName}List of provider implementations.
java.util.MapNoNo Description.
org.apache.maven.shared.release.ReleaseManagerNoThe message prefix to all scm changes
java.lang.StringNo${scmCommentPrefix}[maven-release-plugin] The SCM manager.
org.apache.maven.scm.manager.ScmManagerNoThe SCM tag to use.
java.lang.StringNo${tag}The tag base directory in SVN, you must define it if you don't use the standard svn layout (trunk/tags/branches).
For example, http://svn.apache.org/repos/asf/maven/plugins/tags. The URL is an SVN URL and does not
include the SCM provider and protocol.
java.lang.StringNo${tagBase}Whether to update versions in the branch.
booleanNo${updateBranchVersions}falseWhether to update dependencies version to the next development version.
booleanNo${updateDependencies}trueWhether to update versions to SNAPSHOT in the branch.
booleanNo${updateVersionsToSnapshot}trueWhether to update versions in the working copy.
booleanNo${updateWorkingCopyVersions}trueWhether to use "edit" mode on the SCM, to lock the file for editing during SCM operations.
booleanNo${useEditMode}falseThe SCM username to use.
java.lang.StringNo${username}