gettext:merge

Full name:

ninja.leaping:gettext-maven-plugin:1.2.5-SNAPSHOT:merge

Description:

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

Attributes:

  • Requires a Maven project to be executed.
  • Binds by default to the lifecycle phase: generate-resources.
  • Invokes the execution of this plugin's goal gettext prior to executing itself.

Required Parameters

Name Type Since Description
keysFile String - Filename of the .pot file.
Default value is: keys.pot.
outputDirectory File - The output directory for generated class or properties files.
Default value is: ${project.build.directory}/generated-sources/gettext.
poDirectory File - The output directory for the keys.pot directory for merging .po files.
Default value is: ${basedir}/src/main/po.
sourceDirectory File - Source directory. This directory is searched recursively for .java files.
Default value is: ${project.build.sourceDirectory}.

Optional Parameters

Name Type Since Description
msgmergeCmd String - The msgmerge command.
Default value is: msgmerge.

Parameter Details

keysFile:

Filename of the .pot file.
  • Type: java.lang.String
  • Required: Yes
  • Default: keys.pot

msgmergeCmd:

The msgmerge command.
  • Type: java.lang.String
  • Required: No
  • Default: msgmerge

outputDirectory:

The output directory for generated class or properties files.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.directory}/generated-sources/gettext

poDirectory:

The output directory for the keys.pot directory for merging .po files.
  • Type: java.io.File
  • Required: Yes
  • Default: ${basedir}/src/main/po

sourceDirectory:

Source directory. This directory is searched recursively for .java files.
  • Type: java.io.File
  • Required: Yes
  • Default: ${project.build.sourceDirectory}