org.codehaus.mojo.dependency
Class UnpackMojo

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

public final class UnpackMojo
extends AbstractFromConfigurationMojo

Goal that retrieves a list of artifacts from the repository and unpacks them in a defined location.

Author:
brianf

Field Summary
 
Fields inherited from class org.codehaus.mojo.dependency.AbstractFromConfigurationMojo
archiverManager, project
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
UnpackMojo()
           
 
Method Summary
 void execute()
          Main entry into mojo.
 
Methods inherited from class org.codehaus.mojo.dependency.AbstractFromConfigurationMojo
getArtifact, getArtifactItems
 
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

execute

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

Throws:
org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.
See Also:
ArtifactItem, AbstractFromConfigurationMojo.getArtifactItems(), unpackArtifact(ArtifactItem)


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