Fork me on GitHub

flatten:clean

Full name:

org.codehaus.mojo:flatten-maven-plugin:1.5.0:clean

Description:

This MOJO realizes the goal flatten:clean that deletes any files created by flatten:flatten (more specific the flattened POM file which is by default .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.

Optional Parameters

Name Type Since Description
<flattenedPomFilename> String - The filename of the generated flattened POM file.
Default value is: .flattened-pom.xml.
User property is: flattenedPomFilename.
<outputDirectory> File - The directory where the generated flattened POM file will be written to.
Default value is: ${project.basedir}.

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}