Class GenerateMessagesMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.forgerock.i18n.maven.GenerateMessagesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="generate-messages", defaultPhase=GENERATE_SOURCES, threadSafe=true) public final class GenerateMessagesMojo extends org.apache.maven.plugin.AbstractMojo
Goal which generates message source files from a one or more property files.
  • Field Summary

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

    ROLE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    final void
    protected org.apache.maven.project.MavenProject
    Returns the Maven project associated with this Mojo.

    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
  • Constructor Details

  • Method Details

    • execute

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

      protected org.apache.maven.project.MavenProject getMavenProject()
      Returns the Maven project associated with this Mojo.
      Returns:
      The Maven project associated with this Mojo.