Package org.forgerock.opendj.maven.doc
Class GenerateMessageFileMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.forgerock.opendj.maven.doc.GenerateMessageFileMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-xml-messages-doc", defaultPhase=PRE_SITE) public class GenerateMessageFileMojo extends org.apache.maven.plugin.AbstractMojoGenerates an XML file of log messages found in properties files.
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEY_FORM_MSGMessage giving formatting rules for string keys.
-
Constructor Summary
Constructors Constructor Description GenerateMessageFileMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()For maven exec plugin execution.
-
-
-
Field Detail
-
KEY_FORM_MSG
public static final String KEY_FORM_MSG
Message giving formatting rules for string keys.- See Also:
- Constant Field Values
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionFor maven exec plugin execution. Generates for all included message files (sample.properties), a xml log ref file (log-ref-sample.xml)- Throws:
org.apache.maven.plugin.MojoExecutionException- if a problem occursorg.apache.maven.plugin.MojoFailureException- if a problem occurs
-
-