public abstract class CommonMojoDefinition
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Class and Description |
|---|---|
static class |
CommonMojoDefinition.Format |
| Modifier and Type | Field and Description |
|---|---|
protected CommonMojoDefinition.Format |
format
Output format of the glossary (default html, others : adoc)
|
protected File |
outputDirectory
Directory where the glossary will be generated
|
protected String |
outputFilename
Output filename
|
protected org.apache.maven.project.MavenProject |
project |
protected org.apache.maven.repository.RepositorySystem |
repositorySystem |
protected Template |
template |
| Constructor and Description |
|---|
CommonMojoDefinition() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getDefaultFilename() |
protected String |
getFilename() |
protected String |
getFilenameWithoutExtension() |
protected File |
getOutput(CommonMojoDefinition.Format desiredExtension) |
getLog, getPluginContext, setLog, setPluginContext@Parameter(defaultValue="${project}",
readonly=true,
required=true)
protected org.apache.maven.project.MavenProject project
@Component protected org.apache.maven.repository.RepositorySystem repositorySystem
@Parameter(defaultValue="${project.build.directory}/generated-docs",
required=true)
protected File outputDirectory
@Parameter protected String outputFilename
@Parameter(defaultValue="html") protected CommonMojoDefinition.Format format
@Parameter protected Template template
protected abstract String getDefaultFilename()
protected String getFilename()
protected String getFilenameWithoutExtension()
protected File getOutput(CommonMojoDefinition.Format desiredExtension)
Copyright © 2017 Focus IT. All rights reserved.