org.apache.maven.plugin.assembly
Class UnpackMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.assembly.AbstractUnpackingMojo
          extended by org.apache.maven.plugin.assembly.UnpackMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class UnpackMojo
extends AbstractUnpackingMojo

Unpack project dependencies. Currently supports dependencies of type jar and zip.

Version:
$Id: UnpackMojo.java 366433 2006-01-06 05:30:34Z brett $

Field Summary
 
Fields inherited from class org.apache.maven.plugin.assembly.AbstractUnpackingMojo
archiverManager, artifactResolver, classifier, EMPTY_STRING_ARRAY, finalName, localRepository, outputDirectory, project, projectModulesOnly, reactorProjects, workDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UnpackMojo()
           
 
Method Summary
 void execute()
          Unpacks the archive file.
protected  org.apache.maven.project.MavenProject getExecutedProject()
           
 
Methods inherited from class org.apache.maven.plugin.assembly.AbstractUnpackingMojo
getClassifier, getDependencies, getModules, unpack
 
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

UnpackMojo

public UnpackMojo()
Method Detail

getExecutedProject

protected org.apache.maven.project.MavenProject getExecutedProject()
Specified by:
getExecutedProject in class AbstractUnpackingMojo

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Unpacks the archive file.

Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException


Copyright © 2002-2009 Apache Software Foundation. All Rights Reserved.