public class PluginHelpGenerator extends org.codehaus.plexus.logging.AbstractLogEnabled
HelpMojo
class from help-class-source.vm
template.
The generated mojo reads help content from META-INF/maven/${groupId}/${artifactId}/plugin-help.xml
resource, which is generated by this PluginDescriptorFilesGenerator
.Constructor and Description |
---|
PluginHelpGenerator()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute(File destinationDirectory) |
PluginHelpGenerator |
setGoalPrefix(String goalPrefix) |
PluginHelpGenerator |
setHelpPackageName(String helpPackageName) |
PluginHelpGenerator |
setMavenProject(org.apache.maven.project.MavenProject mavenProject) |
PluginHelpGenerator |
setVelocityComponent(org.codehaus.plexus.velocity.VelocityComponent velocityComponent) |
public PluginHelpGenerator()
public void execute(File destinationDirectory) throws GeneratorException
GeneratorException
public PluginHelpGenerator setHelpPackageName(String helpPackageName)
public PluginHelpGenerator setVelocityComponent(org.codehaus.plexus.velocity.VelocityComponent velocityComponent)
public PluginHelpGenerator setGoalPrefix(String goalPrefix)
public PluginHelpGenerator setMavenProject(org.apache.maven.project.MavenProject mavenProject)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.