org.codehaus.mojo.dependency
Class UnpackDependenciesMojo

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

public class UnpackDependenciesMojo
extends AbstractFromDependenciesMojo

Goal that unpacks the project dependencies from the repository to a defined location.

Author:
brianf

Field Summary
 
Fields inherited from class org.codehaus.mojo.dependency.AbstractFromDependenciesMojo
archiverManager, outputDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UnpackDependenciesMojo()
           
 
Method Summary
 void execute()
          Main entry into mojo.
 
Methods inherited from class org.codehaus.mojo.dependency.AbstractFromDependenciesMojo
getDependencies, getMappedReactorArtifacts
 
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

UnpackDependenciesMojo

public UnpackDependenciesMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException
Main entry into mojo. This method gets the dependencies and iterates through each one passing it to DependencyUtil.unpackFile().

Throws:
org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.
See Also:
AbstractFromDependenciesMojo.getDependencies(), DependencyUtil.unpackFile(Artifact, File, File, ArchiverManager, Log)


Copyright © {inceptionYear}-2008 null. All Rights Reserved.