envsupport:testResources

Full name:

ch.elca.el4j.maven.plugins:maven-env-support-plugin:3.1:testResources

Description:

Test environment support plugin. Filters the test resources of given env dir and saves the generate test resources in a special dir.

Attributes:

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

Required Parameters

Name Type Since Description
outputDirectory File - The output directory into which to copy the env resources.
Default value is: ${project.build.directory}/env.
resourceDirectory File - The resource directory where to transfer files.
Default value is: src/main/env.
testOutputDirectory File - The test output directory into which to copy the env resources.
Default value is: ${project.build.directory}/env-test.
testResourceDirectory File - The test resource directory where to transfer files.
Default value is: src/test/env.

Optional Parameters

Name Type Since 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.
globalResourceDirectory File - The global resource directory where to transfer files.
globalTestResourceDirectory File - The global test resource directory where to transfer files.
useGlobalResourceDirectory boolean - Flag to indicate if the global resource dir should be used.
Default value is: false.
useGlobalTestResourceDirectory boolean - Flag to indicate if the global test resource dir should be used.
Default value is: false.

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}

globalResourceDirectory:

The global resource directory where to transfer files.
  • Type: java.io.File
  • Required: No
  • Expression: ${envsupport.globalResourceDirectory}

globalTestResourceDirectory:

The global test resource directory where to transfer files.
  • Type: java.io.File
  • Required: No
  • Expression: ${envsupport.globalTestResourceDirectory}

outputDirectory:

The output directory into which to copy the env resources.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${envsupport.outputDirectory}
  • Default: ${project.build.directory}/env

resourceDirectory:

The resource directory where to transfer files.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${envsupport.resourceDirectory}
  • Default: src/main/env

testOutputDirectory:

The test output directory into which to copy the env resources.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${envsupport.testOutputDirectory}
  • Default: ${project.build.directory}/env-test

testResourceDirectory:

The test resource directory where to transfer files.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${envsupport.testResourceDirectory}
  • Default: src/test/env

useGlobalResourceDirectory:

Flag to indicate if the global resource dir should be used.
  • Type: boolean
  • Required: No
  • Expression: ${envsupport.useGlobalResourceDirectory}
  • Default: false

useGlobalTestResourceDirectory:

Flag to indicate if the global test resource dir should be used.
  • Type: boolean
  • Required: No
  • Expression: ${envsupport.useGlobalTestResourceDirectory}
  • Default: false