Class GenerateHelpMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.apache.karaf.tooling.commands.GenerateHelpMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="commands-generate-help", defaultPhase=GENERATE_RESOURCES, requiresDependencyResolution=RUNTIME, inheritByDefault=false, threadSafe=true) public class GenerateHelpMojo extends org.apache.maven.plugin.AbstractMojoGenerates help documentation for Karaf commands
-
-
Field Summary
Fields Modifier and Type Field Description protected StringclassLoaderThe classloader to use for loading the commands.protected StringformatThe output formatprotected booleanincludeHelpOptionIncludes the --help command output in the generated documentationprotected org.apache.maven.project.MavenProjectprojectThe maven project.protected FiletargetFolderThe output folder
-
Constructor Summary
Constructors Constructor Description GenerateHelpMojo()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()
-
-
-
Field Detail
-
targetFolder
@Parameter(defaultValue="${project.build.directory}/docbkx/sources") protected File targetFolderThe output folder
-
format
@Parameter(defaultValue="docbx") protected String format
The output format
-
classLoader
@Parameter(defaultValue="project") protected String classLoader
The classloader to use for loading the commands. Can be "project" or "plugin"
-
includeHelpOption
@Parameter(defaultValue="true") protected boolean includeHelpOption
Includes the --help command output in the generated documentation
-
project
@Parameter(defaultValue="${project}") protected org.apache.maven.project.MavenProject projectThe maven project.
-
-