jomc:attach-test-module
Full name:
org.jomc:maven-jomc-plugin:1.9: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. |
sessionDirectory |
String |
1.1 |
Directory holding the session related files of the project. Default value is: ${project.build.directory}/jomc-sessions. |
testModuleArtifactClassifier |
String |
- |
Classifier of the attached module artifact. Default value is: jomc-test-module. |
testModuleArtifactFile |
File |
- |
File of the attached module artifact. Default value is: ${project.build.testOutputDirectory}/META-INF/jomc.xml. |
testModuleArtifactType |
String |
- |
Type of the attached module artifact. Default value is: xml. |
verbose |
boolean |
1.1 |
Controls verbosity of the plugin. Default value is: false. |
Parameter Details
attachTestModuleExecutionStrategy:
Execution strategy of the goal (always or
once-per-session).
- Type: java.lang.String
- Since: 1.1
- Required: No
- Expression: ${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
- Expression: ${jomc.sessionDirectory}
- Default: ${project.build.directory}/jomc-sessions
testModuleArtifactClassifier:
Classifier of the attached module artifact.
- Type: java.lang.String
- Required: No
- Expression: ${jomc.testModuleArtifactClassifier}
- Default: jomc-test-module
testModuleArtifactFile:
File of the attached module artifact.
- Type: java.io.File
- Required: No
- Expression: ${jomc.testModuleArtifactFile}
- Default: ${project.build.testOutputDirectory}/META-INF/jomc.xml
testModuleArtifactType:
Type of the attached module artifact.
- Type: java.lang.String
- Required: No
- Expression: ${jomc.testModuleArtifactType}
- Default: xml
verbose:
Controls verbosity of the plugin.
- Type: boolean
- Since: 1.1
- Required: No
- Expression: ${jomc.verbose}
- Default: false