Class PluginHelpGenerator
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.tools.plugin.generator.PluginHelpGenerator
- All Implemented Interfaces:
org.codehaus.plexus.logging.LogEnabled
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setGoalPrefix
(String goalPrefix) setHelpPackageName
(String helpPackageName) setMavenProject
(org.apache.maven.project.MavenProject mavenProject) setVelocityComponent
(org.codehaus.plexus.velocity.VelocityComponent velocityComponent) Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
-
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
-