@Mojo(name="helpmojo",
defaultPhase=GENERATE_SOURCES,
threadSafe=true,
requiresDependencyResolution=COMPILE)
public class HelpGeneratorMojo
extends AbstractGeneratorMojo
HelpMojo class.| Modifier and Type | Field and Description |
|---|---|
protected File |
outputDirectory
The directory where the generated
HelpMojo file will be put. |
dependencies, encoding, extractors, goalPrefix, local, mojoScanner, packagingTypes, project, remoteRepos, skip, skipErrorNoDescriptorsFound| Constructor and Description |
|---|
HelpGeneratorMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected Generator |
createGenerator() |
void |
execute() |
protected File |
getOutputDirectory() |
getLog, getPluginContext, setLog, setPluginContext@Parameter(defaultValue="${project.build.directory}/generated-sources/plugin")
protected File outputDirectory
HelpMojo file will be put.public HelpGeneratorMojo()
protected File getOutputDirectory()
getOutputDirectory in class AbstractGeneratorMojoprotected Generator createGenerator()
createGenerator in class AbstractGeneratorMojoGenerator implementation.public void execute() throws MojoExecutionException
execute in interface Mojoexecute in class AbstractGeneratorMojoMojoExecutionExceptionCopyright © 2004–2014 The Apache Software Foundation. All rights reserved.