org.apache.maven.plugin.assembly.mojos
Class UnpackMojo

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

Deprecated. Use org.apache.maven.plugins:maven-dependency-plugin goal: unpack or unpack-dependencies instead.

@Mojo(name="unpack",
      requiresDependencyResolution=TEST,
      inheritByDefault=false)
@Deprecated
public class UnpackMojo
extends AbstractMojo

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

Version:
$Id: UnpackMojo.java 1639422 2014-11-13 18:08:07Z krosenvold $

Field Summary
protected  File workDirectory
          Deprecated. Directory to unpack JARs into if needed
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UnpackMojo()
          Deprecated.  
 
Method Summary
 void execute()
          Deprecated. Unpacks the archive file.
 
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

workDirectory

@Parameter(defaultValue="${project.build.directory}/assembly/work",
           required=true)
protected File workDirectory
Deprecated. 
Directory to unpack JARs into if needed

Constructor Detail

UnpackMojo

public UnpackMojo()
Deprecated. 
Method Detail

execute

public void execute()
             throws MojoExecutionException,
                    MojoFailureException
Deprecated. 
Unpacks the archive file.

Throws:
MojoExecutionException
MojoFailureException


Copyright © 2002–2015 The Apache Software Foundation. All rights reserved.