Package org.forgerock.opendj.maven.doc
Class GenerateRefEntriesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.forgerock.opendj.maven.doc.GenerateRefEntriesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="generate-refentry", defaultPhase=PREPARE_PACKAGE, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public final class GenerateRefEntriesMojo extends org.apache.maven.plugin.AbstractMojoGenerate DocBook RefEntry source documents for command-line tools man pages.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerateRefEntriesMojo.ModeRepresents the execution mode of this plugin.
-
Constructor Summary
Constructors Constructor Description GenerateRefEntriesMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()Writes a RefEntry file to the output directory for each tool.
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureExceptionWrites a RefEntry file to the output directory for each tool. Files names correspond to script names:man-<name>.xml.- Throws:
org.apache.maven.plugin.MojoExecutionException- Encountered a problem writing a file.org.apache.maven.plugin.MojoFailureException- Failed to initialize effectively, or to write one or more RefEntry files.
-
-