Prepare for a release in SCM.
Mojo Attributes :
test| Name | Type | Description |
|---|---|---|
| addSchema | boolean |
Whether to add a schema to the POM if it was previously missing on release. Default value is true. |
| allowTimestampedSnapshots | boolean |
Whether to timestamped SNAPSHOT dependencies. Default is to fail when finding any SNAPSHOT. Default value is false. |
| 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. |
| commitByProject | boolean |
Commits to do are atomic or by project. Default value is false. |
| 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. |
| generateReleasePoms | boolean |
Whether to generate release-pom.xml files that contain resolved information about the project. Default value is false. |
| password | String |
The SCM password to use. |
| pomFileName | String |
The file name of the POM to execute any goals against. |
| preparationGoals | String |
Goals to run as part of the preparation step, after transformation but before committing.
Space delimited. Default value is clean verify. |
| providerImplementations | Map |
List of provider implementations. |
| releaseManager | ReleaseManager |
No description. |
| resume | boolean |
Resume a previous release attempt from the point that it was stopped. Default value is true. |
| 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. |
| updateDependencies | boolean |
Whether to update dependencies version to the next development version. 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}trueWhether to timestamped SNAPSHOT dependencies. Default is to fail when finding any SNAPSHOT.
booleanNo${ignoreSnapshots}falseAdditional 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}falseCommits to do are atomic or by project.
booleanNo${commitByProject}falseDry 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}falseWhether to generate release-pom.xml files that contain resolved information about the project.
booleanNo${generateReleasePoms}falseThe SCM password to use.
java.lang.StringNo${password}The file name of the POM to execute any goals against.
java.lang.StringNo${pomFileName}Goals to run as part of the preparation step, after transformation but before committing. Space delimited.
java.lang.StringNo${preparationGoals}clean verifyList of provider implementations.
java.util.MapNoNo Description.
org.apache.maven.shared.release.ReleaseManagerNoResume a previous release attempt from the point that it was stopped.
booleanNo${resume}trueThe 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 dependencies version to the next development version.
booleanNo${updateDependencies}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}