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
public class PluginHelpGenerator extends org.codehaus.plexus.logging.AbstractLogEnabled
Generates anHelpMojoclass fromhelp-class-source.vmtemplate. The generated mojo reads help content fromMETA-INF/maven/${groupId}/${artifactId}/plugin-help.xmlresource, which is generated by thisPluginDescriptorFilesGenerator.- Since:
- 2.4
- Author:
- Vincent Siveton
-
-
Constructor Summary
Constructors Constructor Description PluginHelpGenerator()Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute(File destinationDirectory)PluginHelpGeneratorsetGoalPrefix(String goalPrefix)PluginHelpGeneratorsetHelpPackageName(String helpPackageName)PluginHelpGeneratorsetMavenProject(org.apache.maven.project.MavenProject mavenProject)PluginHelpGeneratorsetVelocityComponent(org.codehaus.plexus.velocity.VelocityComponent velocityComponent)
-
-
-
Constructor Detail
-
PluginHelpGenerator
public PluginHelpGenerator()
Default constructor
-
-
Method Detail
-
execute
public void execute(File destinationDirectory) throws GeneratorException
- Throws:
GeneratorException
-
setHelpPackageName
public PluginHelpGenerator setHelpPackageName(String helpPackageName)
-
setVelocityComponent
public PluginHelpGenerator setVelocityComponent(org.codehaus.plexus.velocity.VelocityComponent velocityComponent)
-
setGoalPrefix
public PluginHelpGenerator setGoalPrefix(String goalPrefix)
-
setMavenProject
public PluginHelpGenerator setMavenProject(org.apache.maven.project.MavenProject mavenProject)
-
-