i18n:check-bundles-integrity
Nom complet :
org.nuiton.i18n:i18n-maven-plugin:4.1:check-bundles-integrity
Description :
Check bundles integrity. That all keys have a value in all bundles.
Attributs :
- Exige un projet Maven pour être exécuté.
- The goal is not marked as thread-safe and thus does not support parallel builds.
- Depuis la version :
3.5. - S'associe par défaut dans la phase du cycle de vie :
prepare-package.
Paramètres requis
| Nom | Type | Depuis | Description |
|---|---|---|---|
<bundles> |
String |
3.5 |
Locales to treate, separated by comma. Example :
fr_FR,en_GB Valeur par défaut : fr_FR,en_GB.Propriété utilisateur : i18n.bundles. |
<encoding> |
String |
3.5 |
Encoding used to load and store properties. Valeur par défaut : ${project.build.sourceEncoding}.Propriété utilisateur : i18n.encoding. |
<out> |
File |
3.5 |
Directory where to generate i18n files. Valeur par défaut : ${basedir}/target/generated-sources/i18n.Propriété utilisateur : i18n.out. |
<showEmpty> |
boolean |
1.0.0 |
A flag to show empty i18n translation. Note : Need the
checkBundle to be activated).Valeur par défaut : false.Propriété utilisateur : i18n.showEmpty. |
<showMissing> |
boolean |
3.5 |
A flag to show missing i18n translation. Valeur par défaut : false.Propriété utilisateur : i18n.showMissing. |
<src> |
File |
3.5 |
Directory where to find project i18n files. Valeur par défaut : ${basedir}/src/main/resources/i18n.Propriété utilisateur : i18n.src. |
Paramètres optionnels
| Nom | Type | Depuis | 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. Valeur par défaut : false.Propriété utilisateur : i18n.failsIfWarning. |
<silent> |
boolean |
1.0.0-rc-5 |
Silent flag to see only errors in console. Valeur par défaut : false.Propriété utilisateur : i18n.silent. |
<verbose> |
boolean |
3.5 |
Verbose flag. Note : if not setted, we used the
maven.verbose property.Valeur par défaut : ${maven.verbose}.Propriété utilisateur : i18n.verbose. |
Détails des paramètres
<bundles>
Locales to treate, separated by comma. Example :
fr_FR,en_GB
- Type :
java.lang.String - Depuis :
3.5 - Exigé :
Oui - Propriété utilisateur :
i18n.bundles - Défaut :
fr_FR,en_GB
<encoding>
Encoding used to load and store properties.
- Type :
java.lang.String - Depuis :
3.5 - Exigé :
Oui - Propriété utilisateur :
i18n.encoding - Défaut :
${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 - Depuis :
2.0 - Exigé :
Non - Propriété utilisateur :
i18n.failsIfWarning - Défaut :
false
<out>
Directory where to generate i18n files.
- Type :
java.io.File - Depuis :
3.5 - Exigé :
Oui - Propriété utilisateur :
i18n.out - Défaut :
${basedir}/target/generated-sources/i18n
<showEmpty>
A flag to show empty i18n translation. Note : Need the
checkBundle to be activated).- Type :
boolean - Depuis :
1.0.0 - Exigé :
Oui - Propriété utilisateur :
i18n.showEmpty - Défaut :
false
<showMissing>
A flag to show missing i18n translation.
- Type :
boolean - Depuis :
3.5 - Exigé :
Oui - Propriété utilisateur :
i18n.showMissing - Défaut :
false
<silent>
Silent flag to see only errors in console.
- Type :
boolean - Depuis :
1.0.0-rc-5 - Exigé :
Non - Propriété utilisateur :
i18n.silent - Défaut :
false
<src>
Directory where to find project i18n files.
- Type :
java.io.File - Depuis :
3.5 - Exigé :
Oui - Propriété utilisateur :
i18n.src - Défaut :
${basedir}/src/main/resources/i18n
<verbose>
Verbose flag. Note : if not setted, we used the
maven.verbose property.- Type :
boolean - Depuis :
3.5 - Exigé :
Non - Propriété utilisateur :
i18n.verbose - Défaut :
${maven.verbose}

