public class PluginDescriptorGenerator extends 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(File destinationDirectory,
              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(File destinationFile,
                              PluginToolsRequest request,
                              boolean helpDescriptor)  | 
public PluginDescriptorGenerator(org.apache.maven.plugin.logging.Log log)
public void execute(File destinationDirectory, PluginToolsRequest request) throws GeneratorException
execute in interface GeneratordestinationDirectory - requiredrequest - requiredGeneratorException - if anypublic void writeDescriptor(File destinationFile, PluginToolsRequest request, boolean helpDescriptor) throws IOException, org.apache.maven.plugin.descriptor.DuplicateMojoDescriptorException
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 fieldsCopyright © 2004–2018 The Apache Software Foundation. All rights reserved.