jdtaus-container-mojo:java-commit-tests

Vollständiger Name:

org.jdtaus.mojo:jdtaus-container-mojo:3.13:java-commit-tests

Beschreibung:

Mojo to commit container meta-data to compiled java test classes.

Attribute:

  • Erfordert ein Maven Projekt zur Ausführung.
  • Erfordert Abhängigkeitsauflösung von Artefakten mit Geltungsbereich: test.
  • Bindet automatisch an die Lebenszyklusphase: process-test-classes.

Optionale Parameter

Name Typ Seit Beschreibung
classPathElementsExcludeRegexp String - A regular expression used for excluding elements from the runtime classpath elements. By default no elements will be excluded.
constructorsEndingMarker String - The string marking the ending line up to where constructor code should be inserted.
Standardwert ist: //------------------------------------------------------------Constructors--.
constructorsStartingMarker String - The string marking the starting line where to start inserting constructor code.
Standardwert ist: //--Constructors------------------------------------------------------------.
dependenciesEndingMarker String - The string marking the ending line up to where dependency code should be inserted.
Standardwert ist: //------------------------------------------------------------Dependencies--.
dependenciesStartingMarker String - The string marking the starting line where to start inserting dependency code.
Standardwert ist: //--Dependencies------------------------------------------------------------.
encoding String - The encoding to use for reading and writing sources. By default the system's default encoding will be used.
Standardwert ist: ${project.build.sourceEncoding}.
implementationsEndingMarker String - The string marking the ending line up to where implementation code should be inserted.
Standardwert ist: //----------------------------------------------------------Implementation--.
implementationsStartingMarker String - The string marking the starting line where to start inserting implementation code.
Standardwert ist: //--Implementation----------------------------------------------------------.
locale String - Language to be used for javadoc comments. By default the system's default locale will be used.
messagesEndingMarker String - The string marking the ending line up to where implementation message code should be inserted.
Standardwert ist: //----------------------------------------------------------------Messages--.
messagesStartingMarker String - The string marking the starting line where to start inserting implementation message code.
Standardwert ist: //--Messages----------------------------------------------------------------.
moduleName String - The name of the module to process.
Standardwert ist: ${project.name}.
outputDirectory File - Output directory.
propertiesEndingMarker String - The string marking the ending line up to where implementation property code should be inserted.
Standardwert ist: //--------------------------------------------------------------Properties--.
propertiesStartingMarker String - The string marking the starting line where to start inserting implementation property code.
Standardwert ist: //--Properties--------------------------------------------------------------.
sourceRoot File - Source root to create new source files in.
Standardwert ist: ${basedir}/src/main/java.
spacesPerIndentationLevel Integer - Number of spaces to use per indentation level.
Standardwert ist: 4.
specificationsEndingMarker String - The string marking the ending line up to where specification code should be inserted.
Standardwert ist: //-----------------------------------------------------------Specification--.
specificationsStartingMarker String - The string marking the starting line where to start inserting specification code.
Standardwert ist: //--Specification-----------------------------------------------------------.
targetIde String - Specifies the target editor used for editing sourcefiles. Used for e.g. generating folding markers specific to IDE editors. Currently available options are none and netbeans.
Standardwert ist: netbeans.
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.
Standardwert ist: false.
testModuleName String - The name of the test module to process.
Standardwert ist: ${project.name} Tests.

Parameter-Details

classPathElementsExcludeRegexp:

A regular expression used for excluding elements from the runtime classpath elements. By default no elements will be excluded.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${classPathElementsExcludeRegexp}

constructorsEndingMarker:

The string marking the ending line up to where constructor code should be inserted.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${constructorsEndingMarker}
  • Standard: //------------------------------------------------------------Constructors--

constructorsStartingMarker:

The string marking the starting line where to start inserting constructor code.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${constructorsStartingMarker}
  • Standard: //--Constructors------------------------------------------------------------

dependenciesEndingMarker:

The string marking the ending line up to where dependency code should be inserted.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${dependenciesEndingMarker}
  • Standard: //------------------------------------------------------------Dependencies--

dependenciesStartingMarker:

The string marking the starting line where to start inserting dependency code.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${dependenciesStartingMarker}
  • Standard: //--Dependencies------------------------------------------------------------

encoding:

The encoding to use for reading and writing sources. By default the system's default encoding will be used.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${encoding}
  • Standard: ${project.build.sourceEncoding}

implementationsEndingMarker:

The string marking the ending line up to where implementation code should be inserted.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${implementationsEndingMarker}
  • Standard: //----------------------------------------------------------Implementation--

implementationsStartingMarker:

The string marking the starting line where to start inserting implementation code.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${implementationsStartingMarker}
  • Standard: //--Implementation----------------------------------------------------------

locale:

Language to be used for javadoc comments. By default the system's default locale will be used.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${locale}

messagesEndingMarker:

The string marking the ending line up to where implementation message code should be inserted.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${messagesEndingMarker}
  • Standard: //----------------------------------------------------------------Messages--

messagesStartingMarker:

The string marking the starting line where to start inserting implementation message code.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${messagesStartingMarker}
  • Standard: //--Messages----------------------------------------------------------------

moduleName:

The name of the module to process.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${moduleName}
  • Standard: ${project.name}

outputDirectory:

Output directory.
  • Typ: java.io.File
  • Erforderlich: Nein
  • Ausdruck: ${project.build.directory}/container

propertiesEndingMarker:

The string marking the ending line up to where implementation property code should be inserted.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${propertiesEndingMarker}
  • Standard: //--------------------------------------------------------------Properties--

propertiesStartingMarker:

The string marking the starting line where to start inserting implementation property code.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${propertiesStartingMarker}
  • Standard: //--Properties--------------------------------------------------------------

sourceRoot:

Source root to create new source files in.
  • Typ: java.io.File
  • Erforderlich: Nein
  • Ausdruck: ${sourceRoot}
  • Standard: ${basedir}/src/main/java

spacesPerIndentationLevel:

Number of spaces to use per indentation level.
  • Typ: java.lang.Integer
  • Erforderlich: Nein
  • Ausdruck: ${spacesPerIndentationLevel}
  • Standard: 4

specificationsEndingMarker:

The string marking the ending line up to where specification code should be inserted.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${specificationsEndingMarker}
  • Standard: //-----------------------------------------------------------Specification--

specificationsStartingMarker:

The string marking the starting line where to start inserting specification code.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${specificationsStartingMarker}
  • Standard: //--Specification-----------------------------------------------------------

targetIde:

Specifies the target editor used for editing sourcefiles. Used for e.g. generating folding markers specific to IDE editors. Currently available options are none and netbeans.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${targetIde}
  • Standard: netbeans

testClassPathElementsExcludeRegexp:

A regular expression used for excluding elements from the test classpath elements. By default no elements will be excluded.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${testClassPathElementsExcludeRegexp}

testMode:

Flag indicating test mode. In test mode generated sources will be printed to the console and no files will be written.
  • Typ: java.lang.Boolean
  • Erforderlich: Nein
  • Ausdruck: ${testMode}
  • Standard: false

testModuleName:

The name of the test module to process.
  • Typ: java.lang.String
  • Erforderlich: Nein
  • Ausdruck: ${testModuleName}
  • Standard: ${project.name} Tests