org.jboss.maven.plugins.jdocbook
Class ResourceMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.jboss.maven.plugins.jdocbook.MojoInternalConfigSupport
org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo
org.jboss.maven.plugins.jdocbook.ResourceMojo
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, DirectoryLayout.BaseInfo
public class ResourceMojo
- extends AbstractDocBookMojo
This mojo's responsibility within the plugin/packaging is to process resources
defined by various inputs, moving them into a staging directory for use
during XSLT processing. This is needed because the DocBook XSLT only allow
defining a single img.src.path value; FOP only allows a single
fontBaseDir value; etc.
- Author:
- Steve Ebersole
| Fields inherited from class org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo |
attach, baseOutputDirectory, cssResource, directoryLayout, fontsDirectory, formats, ignoreTranslations, imageResource, injections, masterTranslation, options, PLUGIN_NAME, profiling, sourceDirectory, sourceDocumentName, translations |
| Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
|
Method Summary |
protected void |
process()
The override method to perform the actual processing of the
mojo. |
protected void |
unpackSupportArtifact(File file,
File target,
org.codehaus.plexus.archiver.ArchiveFileFilter[] entryFilters)
|
| Methods inherited from class org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo |
collectArtifactsByType, doExecute, execute, fromLanguageString, getBaseOutputDirectory, getBaseSourceDirectory, getComponentRegistry, getFontDirectories, getFormatOptions, getFormatOptionsList, getMasterLanguage, getMasterLanguageDescriptor, getMasterLanguageLocale, getProfiledDocument, getProfiledDocument, getRequestedFormat, getRequestedLanguageLocale, getRootMasterSourceFile, getSourceDocument, getSourceDocument, getTranslationSources, parseLocale, resolvePublishingSources, stringify |
| 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 |
ResourceMojo
public ResourceMojo()
process
protected void process()
throws org.jboss.jdocbook.render.RenderingException,
org.jboss.jdocbook.xslt.XSLTException
- The override method to perform the actual processing of the
mojo.
- Overrides:
process in class AbstractDocBookMojo
- Throws:
org.jboss.jdocbook.render.RenderingException - Indicates problem performing rendering
org.jboss.jdocbook.xslt.XSLTException - Indicates problem building or executing XSLT transformer
unpackSupportArtifact
protected void unpackSupportArtifact(File file,
File target,
org.codehaus.plexus.archiver.ArchiveFileFilter[] entryFilters)
throws org.jboss.jdocbook.render.RenderingException
- Throws:
org.jboss.jdocbook.render.RenderingException
Copyright © 2007-2012 JBoss, a division of Red Hat, Inc. All Rights Reserved.