@Mojo(name="helpmojo", defaultPhase=GENERATE_SOURCES, threadSafe=true, requiresDependencyResolution=COMPILE) public class HelpGeneratorMojo extends AbstractGeneratorMojo
HelpMojo
class.Modifier and Type | Field | 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 | Description |
---|---|
HelpGeneratorMojo() |
Modifier and Type | Method | Description |
---|---|---|
protected org.apache.maven.tools.plugin.generator.Generator |
createGenerator() |
|
void |
execute() |
|
protected File |
getOutputDirectory() |
@Parameter(defaultValue="${project.build.directory}/generated-sources/plugin") protected File outputDirectory
HelpMojo
file will be put.protected File getOutputDirectory()
getOutputDirectory
in class AbstractGeneratorMojo
protected org.apache.maven.tools.plugin.generator.Generator createGenerator()
createGenerator
in class AbstractGeneratorMojo
Generator
implementation.public void execute() throws org.apache.maven.plugin.MojoExecutionException
execute
in class AbstractGeneratorMojo
org.apache.maven.plugin.MojoExecutionException
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.