Full name:
org.apache.maven.plugins:maven-release-plugin:2.1:prepare
Description:
Attributes:
Name | Type | Since | Description |
---|---|---|---|
addSchema | boolean |
- |
Whether to add a schema to the POM if it was previously missing on
release. Default value is: true . |
allowTimestampedSnapshots | boolean |
2.0-beta-7 |
Whether to allow 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 |
2.0-beta-5 |
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 . |
checkModificationExcludeList | String |
2.1 |
Command-line version of checkModificationExcludes |
checkModificationExcludes | String[] |
2.1 |
Additional files that will skipped when checking for modifications
on the working copy. Is ignored, when checkModificationExcludes is
set. |
commitByProject | boolean |
2.0-beta-5 |
Commits to do are atomic or by project. Default value is: false . |
developmentVersion | String |
2.0-beta-8 |
Default version to use for new local working copy. |
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 |
- |
Deprecated. Please use release:prepare-with-pom instead. Default value is: false . |
javaHome | File |
2.0-beta-8 |
The JAVA_HOME parameter to use for forked Maven invocations. Default value is: ${java.home} . |
localCheckout | boolean |
2.0 |
Use a local checkout instead of doing a checkout from the upstream
repository. ATTENTION: This will only work with distributed SCMs
which support the file:// protocol like e.g. git, jgit or hg! TODO:
we should think about having the defaults for the various SCM
providers provided via modello! Default value is: false . |
localRepoDirectory | File |
2.0-beta-8 |
The command-line local repository directory in use for this build
(if specified). Default value is: ${maven.repo.local} . |
mavenExecutorId | String |
2.0-beta-8 |
Role hint of the MavenExecutor implementation to use.Default value is: invoker . |
mavenHome | File |
2.0-beta-8 |
The M2_HOME parameter to use for forked Maven invocations. Default value is: ${maven.home} . |
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 |
2.0-beta-6 |
List of provider implementations. |
pushChanges | boolean |
2.1 |
Implemented with git will or not push changes to the upstream
repository. true by default to preserve backward
compatibility.Default value is: true . |
releaseVersion | String |
2.0-beta-8 |
Default version to use when preparing a release or a branch. |
remoteTagging | boolean |
2.0-beta-9 |
Currently only implemented with svn scm.
Default value is: true . |
resume | boolean |
- |
Resume a previous release attempt from the point where it was
stopped. Default value is: true . |
scmCommentPrefix | String |
2.0-beta-5 |
The message prefix to use for all SCM changes. Default value is: [maven-release-plugin] . |
suppressCommitBeforeTag | boolean |
2.1 |
Whether to suppress a commit of changes to the working copy before
the tag is created. This requires remoteTagging to be set to false. suppressCommitBeforeTag is useful when you want to
avoid poms with released versions in all revisions of your trunk or
development branch.Default value is: false . |
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 |
2.0-beta-5 |
Whether to update dependencies version to the next development
version. Default value is: true . |
updateWorkingCopyVersions | boolean |
2.1 |
Whether to bump the working copy versions to
developmentVersion .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. |
boolean
No
${addSchema}
true
boolean
2.0-beta-7
No
${ignoreSnapshots}
false
java.lang.String
No
${arguments}
boolean
2.0-beta-5
No
${autoVersionSubmodules}
false
java.lang.String
2.1
No
${checkModificationExcludeList}
java.lang.String[]
2.1
No
boolean
2.0-beta-5
No
${commitByProject}
false
java.lang.String
2.0-beta-8
No
${developmentVersion}
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.boolean
No
${dryRun}
false
boolean
No
${generateReleasePoms}
false
java.io.File
2.0-beta-8
No
${java.home}
boolean
2.0
No
${localCheckout}
false
java.io.File
2.0-beta-8
No
${maven.repo.local}
MavenExecutor
implementation to use.java.lang.String
2.0-beta-8
No
${mavenExecutorId}
invoker
java.io.File
2.0-beta-8
No
${maven.home}
java.lang.String
No
${password}
java.lang.String
No
${pomFileName}
java.lang.String
No
${preparationGoals}
clean verify
java.util.Map
2.0-beta-6
No
true
by default to preserve backward
compatibility.boolean
2.1
No
${pushChanges}
true
java.lang.String
2.0-beta-8
No
${releaseVersion}
suppressCommitBeforeTag
, such that no poms with
released versions are committed to the working copy ever.boolean
2.0-beta-9
No
${remoteTagging}
true
boolean
No
${resume}
true
java.lang.String
2.0-beta-5
No
${scmCommentPrefix}
[maven-release-plugin]
remoteTagging
to be set to false. suppressCommitBeforeTag
is useful when you want to
avoid poms with released versions in all revisions of your trunk or
development branch.boolean
2.1
No
${suppressCommitBeforeTag}
false
tag:
java.lang.String
No
${tag}
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.String
No
${tagBase}
boolean
2.0-beta-5
No
${updateDependencies}
true
developmentVersion
.boolean
2.1
No
${updateWorkingCopyVersions}
true
boolean
No
${useEditMode}
false
java.lang.String
No
${username}