org.jvnet.localizer
Class GeneratorMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jvnet.localizer.GeneratorMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class GeneratorMojo
extends org.apache.maven.plugin.AbstractMojo

Author:
Kohsuke Kawaguchi

Field Summary
protected  String fileMask
          Additional file name mask like "Messages.properties" to further restrict the resource processing.
protected  File outputDirectory
          The directory to place generated property files.
protected  org.apache.maven.project.MavenProject project
          The maven project.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
GeneratorMojo()
           
 
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

project

protected org.apache.maven.project.MavenProject project
The maven project.


outputDirectory

protected File outputDirectory
The directory to place generated property files.


fileMask

protected String fileMask
Additional file name mask like "Messages.properties" to further restrict the resource processing.

Constructor Detail

GeneratorMojo

public GeneratorMojo()
Method Detail

execute

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


Copyright © 2011. All Rights Reserved.