Full name:
org.apache.maven.plugins:maven-clean-plugin:2.4.1:clean
Description:
This attempts to clean a project's working directory of the
files that were generated at build-time. By default, it discovers
and deletes the directories configured in
project.build.directory
,
project.build.outputDirectory
,
project.build.testOutputDirectory
, and
project.reporting.outputDirectory
.
Files outside the default may also be included in the deletion
by configuring the filesets
tag.
Attributes:
2.0
.Name | Type | Since | Description |
---|---|---|---|
excludeDefaultDirectories | boolean |
2.3 |
Disables the deletion of the default output directories configured
for a project. If set to true , only the
files/directories selected via the parameter filesets
will be deleted.Default value is: false . |
failOnError | boolean |
2.2 |
Indicates whether the build will continue even if there are clean
errors. Default value is: true . |
filesets | Fileset[] |
2.1 |
The list of file sets to delete, in addition to the default
directories. |
followSymLinks | boolean |
2.1 |
Sets whether the plugin should follow symbolic links while deleting
files from the default output directories of the project. Not
following symlinks requires more IO operations and heap memory,
regardless whether symlinks are actually present. So projects with
a huge output directory that knowingly does not contain symlinks
can improve performance by setting this parameter to
true .Default value is: false . |
skip | boolean |
2.2 |
Disables the plugin execution. Default value is: false . |
verbose | Boolean |
2.1 |
Sets whether the plugin runs in verbose mode. As of plugin version
2.3, the default value is derived from Maven's global debug flag
(compare command line switch -X ). |
true
, only the
files/directories selected via the parameter filesets
will be deleted.boolean
2.3
No
${clean.excludeDefaultDirectories}
false
boolean
2.2
No
${maven.clean.failOnError}
true
org.apache.maven.plugin.clean.Fileset[]
2.1
No
true
.boolean
2.1
No
${clean.followSymLinks}
false
skip:
boolean
2.2
No
${clean.skip}
false
-X
).java.lang.Boolean
2.1
No
${clean.verbose}