org.xnap.commons.maven.gettext
Class DistMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.xnap.commons.maven.gettext.AbstractGettextMojo
          extended by org.xnap.commons.maven.gettext.DistMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class DistMojo
extends AbstractGettextMojo

Generates ressource bundles.

Author:
Tammo van Lessen

Field Summary
protected  String javaVersion
          Java version.
protected  String msgcatCmd
          The msgcat command.
protected  String msgfmtCmd
          The msgfmt command.
protected  String outputFormat
          Output format, can be "class" or "properties".
protected  String sourceLocale
          The locale of the messages in the source code.
protected  String targetBundle
          The package and file name of the generated class or properties files.
 
Fields inherited from class org.xnap.commons.maven.gettext.AbstractGettextMojo
keysFile, outputDirectory, poDirectory, sourceDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
DistMojo()
           
 
Method Summary
 void execute()
           
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

msgcatCmd

protected String msgcatCmd
The msgcat command.


msgfmtCmd

protected String msgfmtCmd
The msgfmt command.


targetBundle

protected String targetBundle
The package and file name of the generated class or properties files.


outputFormat

protected String outputFormat
Output format, can be "class" or "properties".


javaVersion

protected String javaVersion
Java version. Can be "1" or "2".


sourceLocale

protected String sourceLocale
The locale of the messages in the source code.

Constructor Detail

DistMojo

public DistMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Throws:
org.apache.maven.plugin.MojoExecutionException


Copyright © 2013. All Rights Reserved.