org.codehaus.mojo.xfire
Class BundleMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.codehaus.mojo.xfire.BundleMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

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


Field Summary
protected  org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
          To look up Archiver/UnArchiver implementations
protected  java.io.File outputDirectory
          The output directory of the assembled distribution file.
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
BundleMojo()
           
 
Method Summary
 void execute()
           
protected  void unpack(java.io.File file, java.io.File location)
           
 
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

outputDirectory

protected java.io.File outputDirectory
The output directory of the assembled distribution file.


archiverManager

protected org.codehaus.plexus.archiver.manager.ArchiverManager archiverManager
To look up Archiver/UnArchiver implementations

Constructor Detail

BundleMojo

public BundleMojo()
Method Detail

execute

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

unpack

protected void unpack(java.io.File file,
                      java.io.File location)
               throws org.apache.maven.plugin.MojoExecutionException,
                      org.codehaus.plexus.archiver.manager.NoSuchArchiverException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.codehaus.plexus.archiver.manager.NoSuchArchiverException


Copyright © 2010. All Rights Reserved.