org.jboss.maven.plugins.jdocbook
Class PackageMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo
          extended by org.jboss.maven.plugins.jdocbook.PackageMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class PackageMojo
extends AbstractDocBookMojo

This mojo's responsibility within the plugin/packaging is to bundle the individual formats into deployable formats. The desicion Note that some formats (PDF, e.g.) are already deployable.

After bundling, each bundle is then attached to the project

Author:
Steve Ebersole

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo
AbstractDocBookMojo.ArtifactProcessor, AbstractDocBookMojo.I18nSource, AbstractDocBookMojo.MasterTranslationDescriptor, AbstractDocBookMojo.PublishingSource, AbstractDocBookMojo.TranslationDescriptor
 
Field Summary
 
Fields inherited from class org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo
archiverManager, attach, cssResource, fontsDirectory, formats, imageResource, masterTranslation, options, PLUGIN_NAME, pluginArtifacts, potDirectory, project, projectArtifacts, projectHelper, publishDirectory, relativeMasterTranslationPath, session, sourceDirectory, sourceDocumentName, stagingDirectory, translationBaseDirectory, translations, workDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
PackageMojo()
           
 
Method Summary
protected  void process(FormatPlan[] formatPlans)
          The override method to perform the actual processing of the mojo.
 
Methods inherited from class org.jboss.maven.plugins.jdocbook.AbstractDocBookMojo
doExecute, execute, getI18nSources, getMasterTranslationDescriptor, getPublishingSources, getRequestedFormat, getRequestedLocale, parseLocale, processArtifacts, processPluginArtifacts, processProjectArtifacts, 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
 

Constructor Detail

PackageMojo

public PackageMojo()
Method Detail

process

protected void process(FormatPlan[] formatPlans)
                throws RenderingException,
                       XSLTException
The override method to perform the actual processing of the mojo.

Overrides:
process in class AbstractDocBookMojo
Parameters:
formatPlans - The format plans
Throws:
RenderingException - Indicates problem performing rendering
XSLTException - Indicates problem building or executing XSLT transformer


Copyright © 2007-2009 JBoss, a division of Red Hat, Inc. All Rights Reserved.