jomc:attach-test-module

Full name:

org.jomc:maven-jomc-plugin:1.10.1:attach-test-module

Description:

Attaches a project's test module artifact.

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: process-test-resources.

Optional Parameters

Name Type Since Description
attachTestModuleExecutionStrategy String 1.1 Execution strategy of the goal (always or once-per-session).
Default value is: once-per-session.
User property is: jomc.attachTestModuleExecutionStrategy.
sessionDirectory String 1.1 Directory holding the session related files of the project.
Default value is: ${project.build.directory}/jomc-sessions.
User property is: jomc.sessionDirectory.
testModuleArtifactClassifier String - Classifier of the attached module artifact.
Default value is: jomc-test-module.
User property is: jomc.testModuleArtifactClassifier.
testModuleArtifactFile File - File of the attached module artifact.
Default value is: ${project.build.testOutputDirectory}/META-INF/jomc.xml.
User property is: jomc.testModuleArtifactFile.
testModuleArtifactType String - Type of the attached module artifact.
Default value is: xml.
User property is: jomc.testModuleArtifactType.
verbose boolean 1.1 Controls verbosity of the plugin.
Default value is: false.
User property is: jomc.verbose.

Parameter Details

attachTestModuleExecutionStrategy:

Execution strategy of the goal (always or once-per-session).
  • Type: java.lang.String
  • Since: 1.1
  • Required: No
  • User Property: jomc.attachTestModuleExecutionStrategy
  • Default: once-per-session

sessionDirectory:

Directory holding the session related files of the project.
  • Type: java.lang.String
  • Since: 1.1
  • Required: No
  • User Property: jomc.sessionDirectory
  • Default: ${project.build.directory}/jomc-sessions

testModuleArtifactClassifier:

Classifier of the attached module artifact.
  • Type: java.lang.String
  • Required: No
  • User Property: jomc.testModuleArtifactClassifier
  • Default: jomc-test-module

testModuleArtifactFile:

File of the attached module artifact.
  • Type: java.io.File
  • Required: No
  • User Property: jomc.testModuleArtifactFile
  • Default: ${project.build.testOutputDirectory}/META-INF/jomc.xml

testModuleArtifactType:

Type of the attached module artifact.
  • Type: java.lang.String
  • Required: No
  • User Property: jomc.testModuleArtifactType
  • Default: xml

verbose:

Controls verbosity of the plugin.
  • Type: boolean
  • Since: 1.1
  • Required: No
  • User Property: jomc.verbose
  • Default: false