Class PluginXdocGenerator

  • All Implemented Interfaces:
    Generator

    public class PluginXdocGenerator
    extends Object
    implements Generator
    Generate xdoc documentation for each mojo.
    • Constructor Detail

      • PluginXdocGenerator

        public PluginXdocGenerator()
        Default constructor using Locale.ENGLISH as locale. Used only in test cases.
      • PluginXdocGenerator

        public PluginXdocGenerator​(org.apache.maven.project.MavenProject project)
        Constructor using Locale.ENGLISH as locale.
        Parameters:
        project - not null Maven project.
      • PluginXdocGenerator

        public PluginXdocGenerator​(org.apache.maven.project.MavenProject project,
                                   Locale locale)
        Parameters:
        project - not null.
        locale - not null wanted locale.
    • Method Detail

      • processMojoDescriptor

        protected void processMojoDescriptor​(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor,
                                             File destinationDirectory)
                                      throws IOException
        Parameters:
        mojoDescriptor - not null
        destinationDirectory - not null
        Throws:
        IOException - if any