public abstract class AbstractGenerateMojo
extends org.apache.maven.plugin.AbstractMojo
| Modifier and Type | Field and Description |
|---|---|
protected File |
bundle |
protected org.apache.maven.doxia.Doxia |
doxia |
protected File |
outputDirectory |
protected String |
outputEncoding
The character encoding scheme to be applied when writing output files.
|
protected org.apache.maven.project.MavenProject |
project |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper |
protected boolean |
skip
Skip compilation.
|
protected File |
sourceDirectory |
protected String |
sourceEncoding
The character encoding scheme to be applied when reading source files.
|
| Constructor and Description |
|---|
AbstractGenerateMojo() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute() |
org.apache.maven.doxia.document.DocumentCover |
getDocumentCover(BundleModel bundleModel,
Date date) |
org.apache.maven.doxia.document.DocumentMeta |
getDocumentMeta(BundleModel bundleModel,
Date date) |
protected abstract File |
getOutputFile() |
String |
getProjectName() |
protected abstract org.apache.maven.doxia.docrenderer.AbstractDocumentRenderer |
getRenderer() |
protected abstract void |
render(org.apache.maven.doxia.document.DocumentModel model) |
@Parameter(defaultValue="${basedir/src/docs/bundle.xml}")
protected File bundle
@Parameter(defaultValue="${basedir}/src/docs")
protected File sourceDirectory
@Parameter(defaultValue="${project.build.outputDirectory}")
protected File outputDirectory
@Parameter(property="tobairsegais.skip",
defaultValue="false")
protected boolean skip
@Parameter(defaultValue="${project.build.sourceEncoding}")
protected String sourceEncoding
@Parameter(defaultValue="${project.build.outputEncoding}")
protected String outputEncoding
@Component protected org.apache.maven.project.MavenProject project
@Component protected org.apache.maven.project.MavenProjectHelper projectHelper
@Component protected org.apache.maven.doxia.Doxia doxia
public org.apache.maven.doxia.document.DocumentCover getDocumentCover(BundleModel bundleModel, Date date)
public org.apache.maven.doxia.document.DocumentMeta getDocumentMeta(BundleModel bundleModel, Date date)
public String getProjectName()
public void execute()
throws org.apache.maven.plugin.MojoExecutionException,
org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureExceptionprotected abstract org.apache.maven.doxia.docrenderer.AbstractDocumentRenderer getRenderer()
protected abstract File getOutputFile()
protected abstract void render(org.apache.maven.doxia.document.DocumentModel model)
throws org.apache.maven.doxia.docrenderer.DocumentRendererException,
IOException
org.apache.maven.doxia.docrenderer.DocumentRendererExceptionIOExceptionCopyright © 2011-2014. All Rights Reserved.