public class PluginDescriptorGenerator extends java.lang.Object implements Generator
plugin-help.xml help content for PluginHelpGenerator.| Constructor and Description |
|---|
PluginDescriptorGenerator(org.apache.maven.plugin.logging.Log log) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(java.io.File destinationDirectory,
org.apache.maven.tools.plugin.PluginToolsRequest request)
Execute the generation for a given plugin descriptor.
|
protected void |
processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor,
org.codehaus.plexus.util.xml.XMLWriter w) |
protected void |
processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor,
org.codehaus.plexus.util.xml.XMLWriter w,
boolean helpDescriptor) |
void |
writeDescriptor(java.io.File destinationFile,
org.apache.maven.tools.plugin.PluginToolsRequest request,
boolean helpDescriptor) |
public PluginDescriptorGenerator(org.apache.maven.plugin.logging.Log log)
public void execute(java.io.File destinationDirectory,
org.apache.maven.tools.plugin.PluginToolsRequest request)
throws GeneratorException
execute in interface GeneratordestinationDirectory - requiredrequest - requiredGeneratorException - if anypublic void writeDescriptor(java.io.File destinationFile,
org.apache.maven.tools.plugin.PluginToolsRequest request,
boolean helpDescriptor)
throws java.io.IOException,
org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException
java.io.IOExceptionorg.apache.maven.plugin.descriptor.DuplicateMojoDescriptorExceptionprotected void processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor,
org.codehaus.plexus.util.xml.XMLWriter w)
protected void processMojoDescriptor(org.apache.maven.plugin.descriptor.MojoDescriptor mojoDescriptor,
org.codehaus.plexus.util.xml.XMLWriter w,
boolean helpDescriptor)
mojoDescriptor - not nullw - not nullhelpDescriptor - will clean html content from description fields