org.jvnet.localizer
Class GeneratorMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
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 |
| 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 |
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.
GeneratorMojo
public GeneratorMojo()
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.