Invokes xgettext to extract keys from source code.
Mojo Attributes:
generate-resources
Name | Type | Description |
---|---|---|
keysFile | String |
Filename of the .pot file.2 Default value is keys.pot . |
keywords | String |
No description. Default value is -ktrc -ktr -kmarktr -ktrn:1,2 . |
outputDirectory | File |
No description. Default value is ${project.build.outputDirectory} . |
poDirectory | File |
PO directory. Default value is ${project.build.sourceDirectory}/main/po . |
sourceDirectory | File |
No description. Default value is ${project.build.sourceDirectory} . |
xgettextCmd | String |
No description. Default value is xgettext . |
Name | Type | Description |
---|---|---|
encoding | String |
No description. Default value is utf-8 . |
No Description.
java.lang.String
No
${encoding}
utf-8
java.lang.String
Yes
${keysFile}
keys.pot
java.lang.String
Yes
${keywords}
-ktrc -ktr -kmarktr -ktrn:1,2
java.io.File
Yes
${outputDirectory}
${project.build.outputDirectory}
java.io.File
Yes
${poDirectory}
${project.build.sourceDirectory}/main/po
java.io.File
Yes
${sourceDirectory}
${project.build.sourceDirectory}
java.lang.String
Yes
${xgettextCmd}
xgettext