Class PluginHelpGenerator
java.lang.Object
org.apache.maven.tools.plugin.generator.PluginHelpGenerator
Generates an
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.- Since:
- 2.4
- Author:
- Vincent Siveton
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetGoalPrefix(String goalPrefix) setHelpPackageName(String helpPackageName) setMavenProject(org.apache.maven.project.MavenProject mavenProject) setVelocityComponent(org.codehaus.plexus.velocity.VelocityComponent velocityComponent)
-
Constructor Details
-
PluginHelpGenerator
public PluginHelpGenerator()Default constructor
-
-
Method Details
-
execute
- Throws:
GeneratorException
-
setHelpPackageName
-
setVelocityComponent
public PluginHelpGenerator setVelocityComponent(org.codehaus.plexus.velocity.VelocityComponent velocityComponent) -
setGoalPrefix
-
setMavenProject
-