net.israfil.mojo.flex2
Class CopyModulesMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.dependency.AbstractDependencyMojo
          extended by org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo
              extended by org.apache.maven.plugin.dependency.AbstractFromDependenciesMojo
                  extended by net.israfil.mojo.flex2.CopyModulesMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class CopyModulesMojo
extends org.apache.maven.plugin.dependency.AbstractFromDependenciesMojo

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

Author:
brianf (copied and modified), Christian Edward Gruber

Field Summary
 
Fields inherited from class org.apache.maven.plugin.dependency.AbstractFromDependenciesMojo
failOnMissingClassifierArtifact, outputDirectory, stripVersion, useRepositoryLayout, useSubDirectoryPerArtifact, useSubDirectoryPerType
 
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo
classifier, excludeArtifactIds, excludeClassifiers, excludeGroupIds, excludeScope, excludeTransitive, excludeTypes, includeArtifactIds, includeClassifiers, includeGroupIds, includeScope, includeTypes, markersDirectory, overWriteIfNewer, overWriteReleases, overWriteSnapshots, type
 
Fields inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo
archiverManager, artifactCollector, artifactMetadataSource, factory, local, outputAbsoluteArtifactFilename, project, reactorProjects, remoteRepos, resolver, silent
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
CopyModulesMojo()
           
 
Method Summary
 void execute()
          Main entry into mojo.
protected  org.apache.maven.plugin.dependency.utils.filters.ArtifactsFilter getMarkedArtifactFilter()
           
 
Methods inherited from class org.apache.maven.plugin.dependency.AbstractFromDependenciesMojo
getOutputDirectory, isFailOnMissingClassifierArtifact, isStripVersion, isUseRepositoryLayout, isUseSubDirectoryPerArtifact, isUseSubDirectoryPerType, setFailOnMissingClassifierArtifact, setOutputDirectory, setStripVersion, setUseRepositoryLayout, setUseSubDirectoryPerArtifact, setUseSubDirectoryPerType
 
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo
filterMarkedDependencies, getClassifierTranslatedDependencies, getDependencySets, getMarkersDirectory, getResolvedDependencies, setMarkersDirectory
 
Methods inherited from class org.apache.maven.plugin.dependency.AbstractDependencyMojo
copyFile, getArchiverManager, getArtifactCollector, getArtifactMetadataSource, getFactory, getLocal, getLog, getProject, getRemoteRepos, getResolver, setArchiverManager, setArtifactCollector, setArtifactMetadataSource, setFactory, setLocal, setRemoteRepos, setResolver, unpack
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CopyModulesMojo

public CopyModulesMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Main entry into mojo. Gets the list of dependencies and iterates through calling copyArtifact.

Throws:
org.apache.maven.plugin.MojoExecutionException - with a message if an error occurs.
org.apache.maven.plugin.MojoFailureException
See Also:
#getDependencies, #copyArtifact(Artifact, boolean)

getMarkedArtifactFilter

protected org.apache.maven.plugin.dependency.utils.filters.ArtifactsFilter getMarkedArtifactFilter()
Specified by:
getMarkedArtifactFilter in class org.apache.maven.plugin.dependency.AbstractDependencyFilterMojo


Copyright © 2006-2008 Israfil Consulting Services Corporation Open-Source Projects. All Rights Reserved.