trema:exportProperties
Full name:
com.netcetera.trema:trema-maven-plugin:0.2.1-SNAPSHOT:exportProperties
Description:
Export data from a Trema file into property files.
Attributes:
- Requires a Maven project to be executed.
- The goal is thread-safe and supports parallel builds.
- Binds by default to the lifecycle phase: process-sources.
Optional Parameters
Name |
Type |
Since |
Description |
basename |
String |
- |
Basename for the export. Path and beginning of the filename to be
used for the properties. Default value is: ${project.build.directory}/classes/text. User property is: basename. |
defaultlanguage |
String |
- |
Defaultlanguage. If specified, this language will be exported into
a default properties file without the language in the filename, eg.
text.properties. User property is: defaultlanguage. |
filters |
String[] |
- |
Export filters. Filters to be applied for transformation of the
text values during properties file exporting. Possible values are:
'messageformat' (converts one singlequote into two singlequotes)
'addkeytovalue' (appends the key to each value for debugging
purposes, resulting in: key=value [key]) User property is: filters. |
languages |
String[] |
- |
Languages. Languages to be exported. If not provided, all languages
are exported. User property is: languages. |
states |
String[] |
- |
States. The states to be exported. If not provided, all states are
exported. User property is: states. |
tremaFile |
String |
- |
Trema file. Path to the trema file to export. Default value is: ${project.basedir}/src/main/resources/text.trm. User property is: tremaFile. |
Parameter Details
basename:
Basename for the export. Path and beginning of the filename to be
used for the properties.
- Type: java.lang.String
- Required: No
- User Property: basename
- Default: ${project.build.directory}/classes/text
defaultlanguage:
Defaultlanguage. If specified, this language will be exported into
a default properties file without the language in the filename, eg.
text.properties.
- Type: java.lang.String
- Required: No
- User Property: defaultlanguage
filters:
Export filters. Filters to be applied for transformation of the
text values during properties file exporting. Possible values are:
'messageformat' (converts one singlequote into two singlequotes)
'addkeytovalue' (appends the key to each value for debugging
purposes, resulting in: key=value [key])
- Type: java.lang.String[]
- Required: No
- User Property: filters
languages:
Languages. Languages to be exported. If not provided, all languages
are exported.
- Type: java.lang.String[]
- Required: No
- User Property: languages
states:
States. The states to be exported. If not provided, all states are
exported.
- Type: java.lang.String[]
- Required: No
- User Property: states
tremaFile:
Trema file. Path to the trema file to export.
- Type: java.lang.String
- Required: No
- User Property: tremaFile
- Default: ${project.basedir}/src/main/resources/text.trm