gettext:merge

Invokes the gettext:gettext goal and invokes msgmerge to update po files.

Mojo Attributes:

  • Requires a Maven 2.0 project to execute.
  • Automatically executes within the lifecycle phase: generate-resources
  • Invokes the execution of this plugin's goal gettext prior to executing itself.

Required Parameters

Name Type Description
keysFile String Filename of the .pot file.2 Default value is keys.pot.
msgmergeCmd String No description. Default value is msgmerge.
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}.

Parameter Details

keysFile Filename of the .pot file.2
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${keysFile}
  • Default: keys.pot

msgmergeCmd No Description.
  • Type: java.lang.String
  • Required: Yes
  • Expression: ${msgmergeCmd}
  • Default: msgmerge

outputDirectory No Description.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${outputDirectory}
  • Default: ${project.build.outputDirectory}

poDirectory PO directory.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${poDirectory}
  • Default: ${project.build.sourceDirectory}/main/po

sourceDirectory No Description.
  • Type: java.io.File
  • Required: Yes
  • Expression: ${sourceDirectory}
  • Default: ${project.build.sourceDirectory}