@Mojo(name="helpmojo", defaultPhase=GENERATE_SOURCES, threadSafe=true, requiresDependencyResolution=COMPILE) public class HelpGeneratorMojo extends AbstractGeneratorMojo
HelpMojo
class.
Relies at runtime on one output file from DescriptorGeneratorMojo
.Modifier and Type | Field and Description |
---|---|
protected File |
outputDirectory
The directory where the generated
HelpMojo file will be put. |
goalPrefix, LS, project
Constructor and Description |
---|
HelpGeneratorMojo() |
Modifier and Type | Method and Description |
---|---|
protected void |
generate() |
execute
@Parameter(defaultValue="${project.build.directory}/generated-sources/plugin") protected File outputDirectory
HelpMojo
file will be put.public HelpGeneratorMojo()
protected void generate() throws org.apache.maven.plugin.MojoExecutionException
generate
in class AbstractGeneratorMojo
org.apache.maven.plugin.MojoExecutionException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.