Class PluginXdocGenerator
java.lang.Object
org.apache.maven.tools.plugin.generator.PluginXdocGenerator
- All Implemented Interfaces:
Generator
Generate xdoc documentation for each mojo.
-
Constructor Summary
ConstructorDescriptionDefault constructor usingLocale.ENGLISH
as locale.PluginXdocGenerator
(org.apache.maven.project.MavenProject project) Constructor usingLocale.ENGLISH
as locale.PluginXdocGenerator
(org.apache.maven.project.MavenProject project, Locale locale, File reportOutputDirectory, boolean disableInternalJavadocLinkValidation) -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute
(File destinationDirectory, PluginToolsRequest request) Execute the generation for a given plugin descriptor.protected void
processMojoDescriptor
(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor, File destinationDirectory)
-
Constructor Details
-
PluginXdocGenerator
public PluginXdocGenerator()Default constructor usingLocale.ENGLISH
as locale. Used only in test cases. -
PluginXdocGenerator
Constructor usingLocale.ENGLISH
as locale.- Parameters:
project
- not null Maven project.
-
PluginXdocGenerator
public PluginXdocGenerator(org.apache.maven.project.MavenProject project, Locale locale, File reportOutputDirectory, boolean disableInternalJavadocLinkValidation) - Parameters:
project
- not null.locale
- not null wanted locale.
-
-
Method Details
-
execute
public void execute(File destinationDirectory, PluginToolsRequest request) throws GeneratorException Execute the generation for a given plugin descriptor.- Specified by:
execute
in interfaceGenerator
- Parameters:
destinationDirectory
- requiredrequest
- required- Throws:
GeneratorException
- if any
-
processMojoDescriptor
protected void processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor, File destinationDirectory) throws IOException - Parameters:
mojoDescriptor
- not nulldestinationDirectory
- not null- Throws:
IOException
- if any
-