envsupport:resources
Full name:
ch.elca.el4j.maven.plugins:maven-env-support-plugin:3.1:resources
Description:
Environment support plugin. Filters the resources of given env dir
and saves the generate resources in a special dir.
Attributes:
- Requires a Maven 2.0 project to be executed.
- Binds by default to the lifecycle phase: generate-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. |
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.
|
useGlobalResourceDirectory |
boolean |
- |
Flag to indicate if the global 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}
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
useGlobalResourceDirectory:
Flag to indicate if the global resource dir should be used.
- Type: boolean
- Required: No
- Expression: ${envsupport.useGlobalResourceDirectory}
- Default: false