Class LocalizerMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.kohsuke.stapler.LocalizerMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
Direct Known Subclasses:
LocalizerMojo2

@Mojo(name="i18n") public class LocalizerMojo extends org.apache.maven.plugin.AbstractMojo
Alias for stapler:l10n mojo. Left for compatibility.
Author:
Kohsuke Kawaguchi
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected String
    The locale to generate properties for.
    protected org.apache.maven.project.MavenProject
    The maven project.

    Fields inherited from interface org.apache.maven.plugin.Mojo

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    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 Details

    • locale

      @Parameter(defaultValue="${locale}", required=true) protected String locale
      The locale to generate properties for.
    • project

      @Parameter(defaultValue="${project}", required=true, readonly=true) protected org.apache.maven.project.MavenProject project
      The maven project.
  • Constructor Details

    • LocalizerMojo

      public LocalizerMojo()
  • Method Details

    • execute

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