release:clean
Full name:
org.apache.maven.plugins:maven-release-plugin:3.1.1:clean
Description:
Clean up after a release preparation. This is done automatically after a successful release:perform
, so is best served for cleaning up a failed or abandoned release, or a dry run. Note that only the working copy is cleaned up, no previous steps are rolled back. For more info see https://maven.apache.org/plugins/maven-release-plugin/usage/clean-release.html.
Attributes:
- Requires a Maven project to be executed.
- Executes as an aggregator goal.
- The goal is not marked as thread-safe and thus does not support parallel builds.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<arguments> |
String |
- |
Additional arguments to pass to the Maven executions, separated by spaces. User Property: arguments Alias: prepareVerifyArgs |
<javaHome> |
File |
2.0-beta-8 |
The Java home parameter to use for forked Maven invocations. Default: ${java.home} |
<localRepoDirectory> |
File |
2.0-beta-8 |
The command-line local repository directory in use for this build (if specified). Default: ${maven.repo.local} |
<mavenExecutorId> |
String |
2.0-beta-8 |
Role hint of the org.apache.maven.shared.release.exec.MavenExecutor implementation to use.Default: invoker User Property: mavenExecutorId |
<mavenHome> |
File |
2.0-beta-8 |
The Maven home parameter to use for forked Maven invocations. Default: ${maven.home} |
<pomFileName> |
String |
- |
The file name of the POM to execute any goals against. As of version 3.0.0, this defaults to the name of POM file of the project being built. Default: ${project.file.name} User Property: pomFileName |
<releaseStrategyId> |
String |
3.0.0-M5 |
The role-hint for the org.apache.maven.shared.release.strategy.Strategy implementation used to specify the phases per goal.See also: org.apache.maven.shared.release.strategies.DefaultStrategy Default: default User Property: releaseStrategyId |
Parameter Details
<arguments>
Additional arguments to pass to the Maven executions, separated by spaces.
- Type:
java.lang.String
- Required:
No
- User Property:
arguments
- Alias:
prepareVerifyArgs
<javaHome>
The Java home parameter to use for forked Maven invocations.
- Type:
java.io.File
- Since:
2.0-beta-8
- Required:
No
- Default:
${java.home}
<localRepoDirectory>
The command-line local repository directory in use for this build (if specified).
- Type:
java.io.File
- Since:
2.0-beta-8
- Required:
No
- Default:
${maven.repo.local}
<mavenExecutorId>
Role hint of the
org.apache.maven.shared.release.exec.MavenExecutor
implementation to use.- Type:
java.lang.String
- Since:
2.0-beta-8
- Required:
No
- User Property:
mavenExecutorId
- Default:
invoker
<mavenHome>
The Maven home parameter to use for forked Maven invocations.
- Type:
java.io.File
- Since:
2.0-beta-8
- Required:
No
- Default:
${maven.home}
<pomFileName>
The file name of the POM to execute any goals against. As of version 3.0.0, this defaults to the name of POM file of the project being built.
- Type:
java.lang.String
- Required:
No
- User Property:
pomFileName
- Default:
${project.file.name}
<releaseStrategyId>
The role-hint for the
See also: org.apache.maven.shared.release.strategies.DefaultStrategy
org.apache.maven.shared.release.strategy.Strategy
implementation used to specify the phases per goal.See also: org.apache.maven.shared.release.strategies.DefaultStrategy
- Type:
java.lang.String
- Since:
3.0.0-M5
- Required:
No
- User Property:
releaseStrategyId
- Default:
default