public class PluginDescriptorFilesGenerator extends Object implements Generator
PluginHelpGeneratororg.apache.maven.plugin.plugin.report.GoalRenderer| Constructor and Description |
|---|
PluginDescriptorFilesGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(File destinationDirectory,
PluginToolsRequest request)
Execute the generation for a given plugin descriptor.
|
static File |
getEnhancedDescriptorFilePath(org.apache.maven.project.MavenProject project) |
protected void |
processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor,
org.codehaus.plexus.util.xml.XMLWriter w,
org.apache.maven.tools.plugin.generator.PluginDescriptorFilesGenerator.DescriptorType type,
JavadocLinkGenerator javadocLinkGenerator) |
void |
writeDescriptor(File destinationFile,
PluginToolsRequest request,
org.apache.maven.tools.plugin.generator.PluginDescriptorFilesGenerator.DescriptorType type) |
protected void |
writeParameterType(org.codehaus.plexus.util.xml.XMLWriter w,
org.apache.maven.tools.plugin.generator.PluginDescriptorFilesGenerator.DescriptorType type,
JavadocLinkGenerator javadocLinkGenerator,
org.apache.maven.plugin.descriptor.Parameter parameter,
String goal)
Writes parameter type information and potentially also the related javadoc URL.
|
public PluginDescriptorFilesGenerator()
public void execute(File destinationDirectory, PluginToolsRequest request) throws GeneratorException
Generatorexecute in interface GeneratordestinationDirectory - requiredrequest - requiredGeneratorException - if anypublic static File getEnhancedDescriptorFilePath(org.apache.maven.project.MavenProject project)
public void writeDescriptor(File destinationFile, PluginToolsRequest request, org.apache.maven.tools.plugin.generator.PluginDescriptorFilesGenerator.DescriptorType type) throws IOException
IOExceptionprotected void processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor, org.codehaus.plexus.util.xml.XMLWriter w, org.apache.maven.tools.plugin.generator.PluginDescriptorFilesGenerator.DescriptorType type, JavadocLinkGenerator javadocLinkGenerator)
protected void writeParameterType(org.codehaus.plexus.util.xml.XMLWriter w, org.apache.maven.tools.plugin.generator.PluginDescriptorFilesGenerator.DescriptorType type, JavadocLinkGenerator javadocLinkGenerator, org.apache.maven.plugin.descriptor.Parameter parameter, String goal)
w - type - javadocLinkGenerator - parameter - goal - Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.