@Mojo(name="asciidoc-descriptor",
defaultPhase=PROCESS_CLASSES,
threadSafe=true,
requiresDependencyResolution=COMPILE_PLUS_RUNTIME)
public class AdocGeneratorMojo
extends org.apache.maven.plugin.plugin.AbstractGeneratorMojo
AdocMojo class.| Modifier and Type | Field | Description |
|---|---|---|
protected File |
outputDirectory |
The directory where the generated
HelpMojo file will be put. |
| Constructor | Description |
|---|---|
AdocGeneratorMojo() |
| 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 org.apache.maven.plugin.plugin.AbstractGeneratorMojoprotected org.apache.maven.tools.plugin.generator.Generator createGenerator()
createGenerator in class org.apache.maven.plugin.plugin.AbstractGeneratorMojopublic void execute()
throws org.apache.maven.plugin.MojoExecutionException
execute in class org.apache.maven.plugin.plugin.AbstractGeneratorMojoorg.apache.maven.plugin.MojoExecutionExceptionCopyright © 2016–2018 JBoss by Red Hat. All rights reserved.