resources:testResources

Copy resources for the test source code to the test output directory.

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Automatically executes within the lifecycle phase: process-test-resources

Required Parameters

Name Type Description
outputDirectory String The output directory into which to copy the resources.
resources List The list of resources we want to transfer.

Optional Parameters

Name Type Description
encoding String The character encoding scheme to be applied.
filters List The list of additional key-value pairs aside from that of the System, and that of the project, which would be used for the filtering.

Parameter Details

encoding

The character encoding scheme to be applied.

  • Type: java.lang.String
  • Required: No

filters The list of additional key-value pairs aside from that of the System, and that of the project, which would be used for the filtering.
  • Type: java.util.List
  • Required: No
  • Expression: ${project.build.filters}

outputDirectory The output directory into which to copy the resources.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${project.build.testOutputDirectory}

resources The list of resources we want to transfer.
  • Type: java.util.List
  • Required: Yes
  • Expression: ${project.testResources}