Class TOCMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.wildfly.maven.plugins.quickstart.documentation.TOCMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled,org.apache.maven.plugin.Mojo
@Mojo(name="table-of-contents",
threadSafe=true,
defaultPhase=PROCESS_RESOURCES)
public class TOCMojo
extends org.apache.maven.plugin.AbstractMojo
- Author:
- Tomaz Cerar (c) 2017 Red Hat Inc.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected org.apache.maven.project.MavenProjectThe projectprotected Stringprotected Stringprotected StringFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
project
@Parameter(defaultValue="${project}", readonly=true, required=true) protected org.apache.maven.project.MavenProject projectThe project -
replaceMarker
-
sourceDocument
@Parameter(defaultValue="target/docs/README-source.adoc", required=true) protected String sourceDocument -
targetDocument
-
includeOpenshift
@Parameter protected boolean includeOpenshift
-
-
Constructor Details
-
TOCMojo
public TOCMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-