Fork me on GitHub

flatten:clean

Full name:

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

Description:

This MOJO realizes the goal flatten:clean that deletes any files created by FlattenMojo 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 1.0.0-beta-2 The filename of the generated flattened POM file.
Default value is: .flattened-pom.xml.
User property is: flattenedPomFilename.
outputDirectory File 1.0.0-beta-2 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
  • Since: 1.0.0-beta-2
  • 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
  • Since: 1.0.0-beta-2
  • Required: No
  • Default: ${project.basedir}