i18n:collect-i18n-artifacts
Nom complet :
org.nuiton.i18n:i18n-maven-plugin:4.1:collect-i18n-artifacts
Description :
Detects any i18n artifacts in the dependencies of the project and
store their references in a file. The generated file will be used
by
bundle mojo to generate the final aggregated
bundle.Attributs :
- Exige un projet Maven pour être exécuté.
- Exige une résolution des dépendances des artefacts dans le scope :
runtime. - The goal is not marked as thread-safe and thus does not support parallel builds.
- Depuis la version :
1.0.2. - S'associe par défaut dans la phase du cycle de vie :
generate-resources.
Paramètres requis
| Nom | Type | Depuis | Description |
|---|---|---|---|
<bundles> |
String |
1.0.2 |
Locales to treate, separated by comma. Example :
fr_FR,en_GB Valeur par défaut : fr_FR,en_GB.Propriété utilisateur : i18n.bundles. |
<collectOutputDir> |
File |
1.0.2 |
Directory where to generate bundles. Valeur par défaut : ${basedir}/target/i18n.Propriété utilisateur : i18n.collectOutputDir. |
<collectOutputName> |
String |
1.0.2 |
BAse name of file which contains bundles locations. Valeur par défaut : collect-${project.artifactId}-i18n.Propriété utilisateur : i18n.collectOutputName. |
<encoding> |
String |
1.0.2 |
Encoding used to load and store properties. Valeur par défaut : ${project.build.sourceEncoding}.Propriété utilisateur : i18n.encoding. |
<src> |
File |
1.0.2 |
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 |
|---|---|---|---|
<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 |
1.0.2 |
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 :
1.0.2 - Exigé :
Oui - Propriété utilisateur :
i18n.bundles - Défaut :
fr_FR,en_GB
<collectOutputDir>
Directory where to generate bundles.
- Type :
java.io.File - Depuis :
1.0.2 - Exigé :
Oui - Propriété utilisateur :
i18n.collectOutputDir - Défaut :
${basedir}/target/i18n
<collectOutputName>
BAse name of file which contains bundles locations.
- Type :
java.lang.String - Depuis :
1.0.2 - Exigé :
Oui - Propriété utilisateur :
i18n.collectOutputName - Défaut :
collect-${project.artifactId}-i18n
<encoding>
Encoding used to load and store properties.
- Type :
java.lang.String - Depuis :
1.0.2 - Exigé :
Oui - Propriété utilisateur :
i18n.encoding - Défaut :
${project.build.sourceEncoding}
<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 :
1.0.2 - 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 :
1.0.2 - Exigé :
Non - Propriété utilisateur :
i18n.verbose - Défaut :
${maven.verbose}

