jdtaus-container-mojo:clean-sources

Full name:

org.jdtaus.mojo:jdtaus-container-mojo:3.13:clean-sources

Description:

Mojo to cleanup source files (e.g. remove trailing spaces).

Attributes:

  • Requires a Maven project to be executed.

Optional Parameters

Name Type Since Description
classPathElementsExcludeRegexp String - A regular expression used for excluding elements from the runtime classpath elements. By default no elements will be excluded.
encoding String - The encoding to use for reading and writing sources. By default the system's default encoding will be used.
Default value is: ${project.build.sourceEncoding}.
locale String - Language to be used for javadoc comments. By default the system's default locale will be used.
spacesPerIndentationLevel Integer - Number of spaces to use per indentation level.
Default value is: 4.
testClassPathElementsExcludeRegexp String - A regular expression used for excluding elements from the test classpath elements. By default no elements will be excluded.
testMode Boolean - Flag indicating test mode. In test mode generated sources will be printed to the console and no files will be written.
Default value is: false.

Parameter Details

classPathElementsExcludeRegexp:

A regular expression used for excluding elements from the runtime classpath elements. By default no elements will be excluded.
  • Type: java.lang.String
  • Required: No
  • Expression: ${classPathElementsExcludeRegexp}

encoding:

The encoding to use for reading and writing sources. By default the system's default encoding will be used.
  • Type: java.lang.String
  • Required: No
  • Expression: ${encoding}
  • Default: ${project.build.sourceEncoding}

locale:

Language to be used for javadoc comments. By default the system's default locale will be used.
  • Type: java.lang.String
  • Required: No
  • Expression: ${locale}

spacesPerIndentationLevel:

Number of spaces to use per indentation level.
  • Type: java.lang.Integer
  • Required: No
  • Expression: ${spacesPerIndentationLevel}
  • Default: 4

testClassPathElementsExcludeRegexp:

A regular expression used for excluding elements from the test classpath elements. By default no elements will be excluded.
  • Type: java.lang.String
  • Required: No
  • Expression: ${testClassPathElementsExcludeRegexp}

testMode:

Flag indicating test mode. In test mode generated sources will be printed to the console and no files will be written.
  • Type: java.lang.Boolean
  • Required: No
  • Expression: ${testMode}
  • Default: false