Class 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[] extraArguments
      Optional raw command line arguments
      protected java.lang.String keysFile
      Filename of the .pot file.
      protected Location location
      set the location comment-mode (full,file,.
      protected java.io.File outputDirectory
      The output directory for generated class or properties files.
      protected java.io.File poDirectory
      The output directory for the keys.pot directory for merging .po files.
      protected org.apache.maven.project.MavenProject project  
      protected java.io.File sourceDirectory
      Source directory.
      • Fields inherited from interface org.apache.maven.plugin.Mojo

        ROLE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void addExtraArguments​(org.codehaus.plexus.util.cli.Commandline cl)  
      • 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
      • Methods inherited from interface org.apache.maven.plugin.Mojo

        execute
    • 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 outputDirectory
        The output directory for generated class or properties files.
      • sourceDirectory

        @Parameter(property="project.build.sourceDirectory",
                   required=true)
        protected java.io.File sourceDirectory
        Source directory. This directory is searched recursively for .java files.
      • poDirectory

        @Parameter(defaultValue="${basedir}/src/main/po",
                   required=true)
        protected java.io.File poDirectory
        The output directory for the keys.pot directory for merging .po files.
      • keysFile

        @Parameter(defaultValue="keys.pot",
                   required=true)
        protected java.lang.String keysFile
        Filename 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,.
    • Constructor Detail

      • AbstractGettextMojo

        public AbstractGettextMojo()
    • Method Detail

      • addExtraArguments

        protected void addExtraArguments​(org.codehaus.plexus.util.cli.Commandline cl)