Package org.forgerock.i18n.maven
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 -
Method Summary
Modifier and TypeMethodDescriptionfinal void
execute()
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
-
Constructor Details
-
GenerateMessagesMojo
public GenerateMessagesMojo()
-
-
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.
-