i18n:i18n
Full name:
com.benasmussen.maven:i18n-maven-plugin:1.0.0:i18n
Description:
Goal which create internationalization resource files from i18n.xls
Attributes:
- Requires a Maven project to be executed.
- Binds by default to the lifecycle phase: process-resources.
Required Parameters
Name |
Type |
Since |
Description |
files |
List |
- |
Excel files User property is: files. |
outputDirectory |
File |
- |
Location of the file. Default value is: ${project.build.outputDirectory}. User property is: outputDirectory. |
outputEncoding |
String |
- |
Output encoding Default value is: UTF-8. User property is: outputEncoding. |
outputFormat |
List |
- |
Resource file output format. Supported values
properties
json
xml User property is: outputFormat. |
Optional Parameters
Name |
Type |
Since |
Description |
keyCell |
String |
- |
Excel key cell Default value is: A2. User property is: keyCell. |
localeCell |
String |
- |
Excel locale cell Default value is: B1. User property is: localeCell. |
Parameter Details
files:
Excel files
- Type: java.util.List
- Required: Yes
- User Property: files
keyCell:
Excel key cell
- Type: java.lang.String
- Required: No
- User Property: keyCell
- Default: A2
localeCell:
Excel locale cell
- Type: java.lang.String
- Required: No
- User Property: localeCell
- Default: B1
outputDirectory:
Location of the file.
- Type: java.io.File
- Required: Yes
- User Property: outputDirectory
- Default: ${project.build.outputDirectory}
outputEncoding:
Output encoding
- Type: java.lang.String
- Required: Yes
- User Property: outputEncoding
- Default: UTF-8
outputFormat:
Resource file output format. Supported values
properties
json
xml
- Type: java.util.List
- Required: Yes
- User Property: outputFormat