i18n:get
Full name:
org.nuiton.i18n:i18n-maven-plugin:4.1:get
Description:
Recupere les différents fichiers des parsers en un fichier de
proprietes.
Attributes:
- Requires a Maven project to be executed.
- The goal is not marked as thread-safe and thus does not support parallel builds.
- Since version:
3.3
. - Binds by default to the lifecycle phase:
generate-resources
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<bundles> |
String |
3.3 |
Locales to treate, separated by comma. Example :
fr_FR,en_GB Default value is: fr_FR,en_GB .User property is: i18n.bundles . |
<encoding> |
String |
3.3 |
Encoding used to load and store properties. Default value is: ${project.build.sourceEncoding} .User property is: i18n.encoding . |
<out> |
File |
3.3 |
Directory where to generate i18n files. Default value is: ${basedir}/target/generated-sources/i18n .User property is: i18n.out . |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<keepGetters> |
boolean |
3.3 |
To keep generated getter files. Note: By default, this
property is not active. Default value is: false .User property is: i18n.keepGetters . |
<silent> |
boolean |
1.0.0-rc-5 |
Silent flag to see only errors in console. Default value is: false .User property is: i18n.silent . |
<verbose> |
boolean |
3.3 |
Verbose flag. Note : if not setted, we used the
maven.verbose property.Default value is: ${maven.verbose} .User property is: i18n.verbose . |
Parameter Details
<bundles>
Locales to treate, separated by comma. Example :
fr_FR,en_GB
- Type:
java.lang.String
- Since:
3.3
- Required:
Yes
- User Property:
i18n.bundles
- Default:
fr_FR,en_GB
<encoding>
Encoding used to load and store properties.
- Type:
java.lang.String
- Since:
3.3
- Required:
Yes
- User Property:
i18n.encoding
- Default:
${project.build.sourceEncoding}
<keepGetters>
To keep generated getter files. Note: By default, this
property is not active.
- Type:
boolean
- Since:
3.3
- Required:
No
- User Property:
i18n.keepGetters
- Default:
false
<out>
Directory where to generate i18n files.
- Type:
java.io.File
- Since:
3.3
- Required:
Yes
- User Property:
i18n.out
- Default:
${basedir}/target/generated-sources/i18n
<silent>
Silent flag to see only errors in console.
- Type:
boolean
- Since:
1.0.0-rc-5
- Required:
No
- User Property:
i18n.silent
- Default:
false
<verbose>
Verbose flag. Note : if not setted, we used the
maven.verbose
property.- Type:
boolean
- Since:
3.3
- Required:
No
- User Property:
i18n.verbose
- Default:
${maven.verbose}