Goal which cleans the build.
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.
Mojo Attributes:
2.0| Name | Type | Since | Description |
|---|---|---|---|
| failOnError | boolean |
2.2 |
Indicates whether the build will continue even if there are clean errors. Default value is true. |
| filesets | List |
2.1 |
The list of fileSets to delete, in addition to the default directories. |
| followSymLinks | boolean |
2.1 |
Sets whether the plugin should follow Symbolic Links to delete files. Default value is false. |
| skip | boolean |
2.2 |
Disable the plugin execution. Default value is false. |
| verbose | boolean |
2.1 |
Sets whether the plugin runs in verbose mode. Default value is false. |
Indicates whether the build will continue even if there are clean errors.
boolean2.2No${maven.clean.failOnError}truejava.util.List2.1Noboolean2.1No${clean.followSymLinks}falseboolean2.2No${clean.skip}falseboolean2.1No${clean.verbose}false