i18n:check-bundles-integrity
Full name:
org.nuiton.i18n:i18n-maven-plugin:4.1:check-bundles-integrity
Description:
Check bundles integrity. That all keys have a value in all bundles.
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.5
. - Binds by default to the lifecycle phase:
prepare-package
.
Required Parameters
Name | Type | Since | Description |
---|---|---|---|
<bundles> |
String |
3.5 |
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.5 |
Encoding used to load and store properties. Default value is: ${project.build.sourceEncoding} .User property is: i18n.encoding . |
<out> |
File |
3.5 |
Directory where to generate i18n files. Default value is: ${basedir}/target/generated-sources/i18n .User property is: i18n.out . |
<showEmpty> |
boolean |
1.0.0 |
A flag to show empty i18n translation. Note : Need the
checkBundle to be activated).Default value is: false .User property is: i18n.showEmpty . |
<showMissing> |
boolean |
3.5 |
A flag to show missing i18n translation. Default value is: false .User property is: i18n.showMissing . |
<src> |
File |
3.5 |
Directory where to find project i18n files. Default value is: ${basedir}/src/main/resources/i18n .User property is: i18n.src . |
Optional Parameters
Name | Type | Since | Description |
---|---|---|---|
<failsIfWarning> |
boolean |
2.0 |
A flag to make the build fails if there is some warnings while
generating bundle, says when it misses some translations. Note
: This parameter should be used in a release profile to ensure
bundles are complete. Default value is: false .User property is: i18n.failsIfWarning . |
<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.5 |
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.5
- 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.5
- Required:
Yes
- User Property:
i18n.encoding
- Default:
${project.build.sourceEncoding}
<failsIfWarning>
A flag to make the build fails if there is some warnings while
generating bundle, says when it misses some translations. Note
: This parameter should be used in a release profile to ensure
bundles are complete.
- Type:
boolean
- Since:
2.0
- Required:
No
- User Property:
i18n.failsIfWarning
- Default:
false
<out>
Directory where to generate i18n files.
- Type:
java.io.File
- Since:
3.5
- Required:
Yes
- User Property:
i18n.out
- Default:
${basedir}/target/generated-sources/i18n
<showEmpty>
A flag to show empty i18n translation. Note : Need the
checkBundle
to be activated).- Type:
boolean
- Since:
1.0.0
- Required:
Yes
- User Property:
i18n.showEmpty
- Default:
false
<showMissing>
A flag to show missing i18n translation.
- Type:
boolean
- Since:
3.5
- Required:
Yes
- User Property:
i18n.showMissing
- Default:
false
<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
<src>
Directory where to find project i18n files.
- Type:
java.io.File
- Since:
3.5
- Required:
Yes
- User Property:
i18n.src
- Default:
${basedir}/src/main/resources/i18n
<verbose>
Verbose flag. Note : if not setted, we used the
maven.verbose
property.- Type:
boolean
- Since:
3.5
- Required:
No
- User Property:
i18n.verbose
- Default:
${maven.verbose}