@Mojo(name="commands-generate-help",
defaultPhase=GENERATE_RESOURCES,
requiresDependencyResolution=RUNTIME,
inheritByDefault=false,
threadSafe=true)
public class GenerateHelpMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected String |
classLoader
The classloader to use for loading the commands.
|
protected String |
format
The output format
|
protected boolean |
includeHelpOption
Includes the --help command output in the generated documentation
|
protected org.apache.maven.project.MavenProject |
project
The maven project.
|
protected File |
targetFolder
The output folder
|
| Constructor and Description |
|---|
GenerateHelpMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
@Parameter(defaultValue="${project.build.directory}/docbkx/sources")
protected File targetFolder
@Parameter(defaultValue="docbx") protected String format
@Parameter(defaultValue="project") protected String classLoader
@Parameter(defaultValue="true") protected boolean includeHelpOption
@Parameter(defaultValue="${project}")
protected org.apache.maven.project.MavenProject project
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.