Package de.fenvariel.maven.gettext
Class AbstractGettextMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- de.fenvariel.maven.gettext.AbstractGettextMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
- Direct Known Subclasses:
DistMojo,GettextMojo,MergeMojo
public abstract class AbstractGettextMojo extends org.apache.maven.plugin.AbstractMojo
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String[]extraArgumentsOptional raw command line argumentsprotected java.lang.StringkeysFileFilename of the .pot file.protected Locationlocationset the location comment-mode (full,file,.protected java.io.FileoutputDirectoryThe output directory for generated class or properties files.protected java.io.FilepoDirectoryThe output directory for the keys.pot directory for merging .po files.protected org.apache.maven.project.MavenProjectprojectprotected java.io.FilesourceDirectorySource directory.
-
Constructor Summary
Constructors Constructor Description AbstractGettextMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddExtraArguments(org.codehaus.plexus.util.cli.Commandline cl)-
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
-
-
-
Field Detail
-
project
@Parameter(property="project", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
-
outputDirectory
@Parameter(property="project.build.outputDirectory", required=true) protected java.io.File outputDirectoryThe output directory for generated class or properties files.
-
sourceDirectory
@Parameter(property="project.build.sourceDirectory", required=true) protected java.io.File sourceDirectorySource directory. This directory is searched recursively for .java files.
-
poDirectory
@Parameter(defaultValue="${basedir}/src/main/po", required=true) protected java.io.File poDirectoryThe output directory for the keys.pot directory for merging .po files.
-
keysFile
@Parameter(defaultValue="keys.pot", required=true) protected java.lang.String keysFileFilename of the .pot file.
-
extraArguments
@Parameter protected java.lang.String[] extraArguments
Optional raw command line arguments
-
location
@Parameter protected Location location
set the location comment-mode (full,file,.
-
-