Class 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.AbstractMojo
    Generate DocBook RefEntry source documents for command-line tools man pages.
    • Constructor Detail

      • GenerateRefEntriesMojo

        public GenerateRefEntriesMojo()
    • Method Detail

      • execute

        public void execute()
                     throws org.apache.maven.plugin.MojoExecutionException,
                            org.apache.maven.plugin.MojoFailureException
        Writes 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.