Fork me on GitHub

flatten:clean

Full name:

org.codehaus.mojo:flatten-maven-plugin:1.6.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: .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: report.plugin.goal.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: report.plugin.goal.no
  • Default: ${project.basedir}

<skip>

If true the plugin will be skipped.
  • Type: boolean
  • Since: 1.6.0
  • Required: report.plugin.goal.no
  • User Property: flatten.skip
  • Default: false

<skipClean>

If true the clean goal will be skipped.
  • Type: boolean
  • Since: 1.6.0
  • Required: report.plugin.goal.no
  • User Property: flatten.clean.skip
  • Default: false