public abstract class AbstractAsciidoctorMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
AbstractAsciidoctorMojo.Format |
| Modifier and Type | Field and Description |
|---|---|
protected File |
generatedDocsDirectory
Directory where the documents will be generated
|
protected org.apache.maven.project.MavenProject |
project |
protected static String |
TEMPLATES_OUTPUT |
| Constructor and Description |
|---|
AbstractAsciidoctorMojo() |
| Modifier and Type | Method and Description |
|---|---|
protected org.asciidoctor.Asciidoctor |
createAsciidoctor() |
protected void |
extractTemplatesFromJar() |
protected File |
getOutput(String filename,
AbstractAsciidoctorMojo.Format desiredExtension) |
protected org.asciidoctor.Options |
options() |
protected void |
write(io.github.robwin.markup.builder.asciidoc.AsciiDocBuilder asciiDocBuilder,
AbstractAsciidoctorMojo.Format format,
String outputFilename) |
getLog, getPluginContext, setLog, setPluginContextprotected static final String TEMPLATES_OUTPUT
@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
@Parameter(property="livingdoc.output.directory",
defaultValue="${project.build.directory}/generated-docs",
required=true)
protected File generatedDocsDirectory
protected void write(io.github.robwin.markup.builder.asciidoc.AsciiDocBuilder asciiDocBuilder,
AbstractAsciidoctorMojo.Format format,
String outputFilename)
throws org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoExecutionExceptionprotected File getOutput(String filename, AbstractAsciidoctorMojo.Format desiredExtension)
protected org.asciidoctor.Asciidoctor createAsciidoctor()
protected org.asciidoctor.Options options()
protected void extractTemplatesFromJar()
Copyright © 2017–2018 Focus IT. All rights reserved.