org.jboss.maven.plugins.docbook.support
Class ResourceMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.jboss.maven.plugins.docbook.support.ResourceMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class ResourceMojo
extends org.apache.maven.plugin.AbstractMojo

Defines resources-like processing for the jdocbook-style packaging. Handles files such as XSLT, fonts, images and css, moving them to specific locations within the output directory for inclusion in the final package.

Author:
Steve Ebersole

Field Summary
protected  java.io.File cssSourceDirectory
          The directory containing css to be included in package.
protected  java.io.File fontSourceDirectory
          The directory containing fonts to be included in package.
protected  java.io.File imagesSourceDirectory
          The directory containing images to be included in package.
protected  java.io.File outputDirectory
          The directory from which packaging is staged.
protected  java.io.File xsltSourceDirectory
          The directory containing the XSLT sources.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
ResourceMojo()
           
 
Method Summary
 void execute()
           
 
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

xsltSourceDirectory

protected java.io.File xsltSourceDirectory
The directory containing the XSLT sources.


fontSourceDirectory

protected java.io.File fontSourceDirectory
The directory containing fonts to be included in package.


imagesSourceDirectory

protected java.io.File imagesSourceDirectory
The directory containing images to be included in package.


cssSourceDirectory

protected java.io.File cssSourceDirectory
The directory containing css to be included in package.


outputDirectory

protected java.io.File outputDirectory
The directory from which packaging is staged.

Constructor Detail

ResourceMojo

public ResourceMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


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