build-helper:add-test-resource
Full name:
org.codehaus.mojo:build-helper-maven-plugin:3.6.0:add-test-resource
Description:
Add more test resource directories to the POM.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Since version:
1.3
. - Binds by default to the lifecycle phase:
generate-test-resources
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<resources> |
Resource[] |
- |
Additional resource directories. |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<skipAddTestResource> |
boolean |
3.5.0 |
Skip plugin execution. Default: false User Property: buildhelper.addtestresource.skip |
<skipAddTestResourceIfMissing> |
boolean |
3.5.0 |
If a test resource directory does not exist, do not add it as a root. Default: false User Property: buildhelper.addtestresource.skipIfMissing |
Parameter Details
<resources>
Additional resource directories.
- Type:
org.apache.maven.model.Resource[]
- Required:
Yes
<skipAddTestResource>
Skip plugin execution.
- Type:
boolean
- Since:
3.5.0
- Required:
No
- User Property:
buildhelper.addtestresource.skip
- Default:
false
<skipAddTestResourceIfMissing>
If a test resource directory does not exist, do not add it as a root.
- Type:
boolean
- Since:
3.5.0
- Required:
No
- User Property:
buildhelper.addtestresource.skipIfMissing
- Default:
false