|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.maven.plugin.AbstractMojo org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo
public abstract class AbstractDocBookMojo
Basic support for the various DocBook mojos in this package. Mainly, we are defining common configuration attributes of the packaging.
todo : I'd much prefer to see the "partial artifact coord" stuff go away and use custom package types to convey this information. This frees the user from duplicate entry of the information.
Nested Class Summary | |
---|---|
protected static interface |
AbstractDocBookMojo.ArtifactProcessor
|
Field Summary | |
---|---|
protected org.codehaus.plexus.archiver.manager.ArchiverManager |
archiverManager
INTERNAL : used to get reference to environemtn Archiver/UnArchiver. |
protected java.io.File |
cssDirectory
The directory containing local css |
protected java.lang.String |
fontConfig
The relative path font configuration to use. |
protected java.io.File |
fontsDirectory
The directory containing local fonts |
protected Format[] |
formats
The formats in which to perform rendering. |
protected java.io.File |
imagesDirectory
The directory containing local images |
protected java.lang.String |
masterTranslationArtifactId
The artifactId of the master translation (unless, of course, this is the master translation). |
protected java.io.File |
masterTranslationFile
Local path to the master translation to use for diff reporting. |
protected Options |
options
Configurable options |
static java.lang.String |
PLUGIN_NAME
|
protected java.util.List |
pluginArtifacts
INTERNAL : The artifacts associated to the dependencies defined as part of our configuration within the project to which we are being attached. |
protected org.apache.maven.project.MavenProject |
project
INTERNAL : The project being built |
protected java.util.Set |
projectArtifacts
INTERNAL : The artifacts associated with the dependencies defined as part of the project to which we are being attached. |
protected org.apache.maven.project.MavenProjectHelper |
projectHelper
INTERNAL : used during packaging to attach produced artifacts |
protected org.apache.maven.doxia.siterenderer.Renderer |
siteRenderer
INTERNAL : used in the translation diff report |
protected java.io.File |
sourceDirectory
The directory where the sources are located. |
protected java.lang.String |
sourceDocumentName
The name of the document (relative to sourceDirectory) which is the document to be rendered. |
protected java.io.File |
stagingDirectory
The directory where "docbook resource" staging occurs. |
protected java.io.File |
targetDirectory
The directory where the output will be written. |
Fields inherited from interface org.apache.maven.plugin.Mojo |
---|
ROLE |
Constructor Summary | |
---|---|
AbstractDocBookMojo()
|
Method Summary | |
---|---|
void |
execute()
|
protected abstract void |
process(Formatting[] formattings)
The override method to perform the actual processing of the mojo. |
protected void |
processArtifacts(AbstractDocBookMojo.ArtifactProcessor processor)
|
protected void |
processPluginArtifacts(AbstractDocBookMojo.ArtifactProcessor processor)
|
protected void |
processProjectArtifacts(AbstractDocBookMojo.ArtifactProcessor processor)
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
---|
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PLUGIN_NAME
protected org.apache.maven.project.MavenProject project
protected java.util.Set projectArtifacts
protected java.util.List pluginArtifacts
protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
protected org.apache.maven.doxia.siterenderer.Renderer siteRenderer
protected org.apache.maven.project.MavenProjectHelper projectHelper
protected java.lang.String sourceDocumentName
protected java.io.File sourceDirectory
protected java.io.File imagesDirectory
protected java.io.File cssDirectory
protected java.io.File fontsDirectory
protected java.io.File targetDirectory
protected java.io.File stagingDirectory
protected Format[] formats
protected java.lang.String masterTranslationArtifactId
protected java.io.File masterTranslationFile
protected java.lang.String fontConfig
protected Options options
Constructor Detail |
---|
public AbstractDocBookMojo()
Method Detail |
---|
protected abstract void process(Formatting[] formattings) throws RenderingException, XSLTException
formattings
- The fomattings configured for render
RenderingException
- Indicates problem performing rendering
XSLTException
- Indicates problem building or executing XSLT transformerpublic final void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException
protected void processArtifacts(AbstractDocBookMojo.ArtifactProcessor processor)
protected void processProjectArtifacts(AbstractDocBookMojo.ArtifactProcessor processor)
protected void processPluginArtifacts(AbstractDocBookMojo.ArtifactProcessor processor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |