Package org.wildfly.tool.plugin
Class AdocGeneratorMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.maven.plugin.plugin.AbstractGeneratorMojo
-
- org.wildfly.tool.plugin.AdocGeneratorMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="asciidoc-descriptor", defaultPhase=PROCESS_CLASSES, threadSafe=true, requiresDependencyResolution=COMPILE_PLUS_RUNTIME) public class AdocGeneratorMojo extends org.apache.maven.plugin.plugin.AbstractGeneratorMojoGenerates aAdocMojoclass.- Author:
- Emmanuel Hugonnet (c) 2018 Red Hat, inc.
-
-
Field Summary
Fields Modifier and Type Field Description protected FileoutputDirectoryThe directory where the generatedHelpMojofile will be put.
-
Constructor Summary
Constructors Constructor Description AdocGeneratorMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apache.maven.tools.plugin.generator.GeneratorcreateGenerator()voidexecute()protected FilegetOutputDirectory()
-
-
-
Field Detail
-
outputDirectory
@Parameter(defaultValue="${project.build.directory}/generated-sources/plugin") protected File outputDirectoryThe directory where the generatedHelpMojofile will be put.
-
-
Method Detail
-
getOutputDirectory
protected File getOutputDirectory()
- Specified by:
getOutputDirectoryin classorg.apache.maven.plugin.plugin.AbstractGeneratorMojo
-
createGenerator
protected org.apache.maven.tools.plugin.generator.Generator createGenerator()
- Specified by:
createGeneratorin classorg.apache.maven.plugin.plugin.AbstractGeneratorMojo
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Specified by:
executein interfaceorg.apache.maven.plugin.Mojo- Overrides:
executein classorg.apache.maven.plugin.plugin.AbstractGeneratorMojo- Throws:
org.apache.maven.plugin.MojoExecutionException
-
-