flatten:clean
Full name:
org.codehaus.mojo:flatten-maven-plugin:1.7.0:clean
Description:
This MOJO realizes the goal flatten:clean
that deletes any files created by
(more specific the flattened POM file which is by default flatten:flatten
.flattened-pom.xml
). See also MOJO-2030 for further details.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
1.0.0-beta-2
. - Binds by default to the lifecycle phase:
clean
.
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<flattenedPomFilename> |
String |
- |
The filename of the generated flattened POM file. Default: .flattened-pom.xml User Property: flattenedPomFilename |
<outputDirectory> |
File |
- |
The directory where the generated flattened POM file will be written to. Default: ${project.basedir} |
<skip> |
boolean |
1.6.0 |
If true the plugin will be skipped.Default: false User Property: flatten.skip |
<skipClean> |
boolean |
1.6.0 |
If true the clean goal will be skipped.Default: false User Property: flatten.clean.skip |
Parameter Details
<flattenedPomFilename>
The filename of the generated flattened POM file.
- Type:
java.lang.String
- Required:
No
- User Property:
flattenedPomFilename
- Default:
.flattened-pom.xml
<outputDirectory>
The directory where the generated flattened POM file will be written to.
- Type:
java.io.File
- Required:
No
- Default:
${project.basedir}
<skip>
If
true
the plugin will be skipped.- Type:
boolean
- Since:
1.6.0
- Required:
No
- User Property:
flatten.skip
- Default:
false
<skipClean>
If
true
the clean goal will be skipped.- Type:
boolean
- Since:
1.6.0
- Required:
No
- User Property:
flatten.clean.skip
- Default:
false