org.apache.maven.plugin.nar
Class AbstractDownloadMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.maven.plugin.nar.AbstractNarMojo
          extended by org.apache.maven.plugin.nar.AbstractDependencyMojo
              extended by org.apache.maven.plugin.nar.AbstractDownloadMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo, NarConstants
Direct Known Subclasses:
NarDownloadMojo, NarTestDownloadMojo

public abstract class AbstractDownloadMojo
extends AbstractDependencyMojo

Downloads any dependent NAR files. This includes the noarch and aol type NAR files.


Field Summary
protected  org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
          Artifact resolver, needed to download the attached nar files.
protected  java.util.List classifiers
          List of classifiers which you want download.
protected  java.util.List remoteArtifactRepositories
          Remote repositories which will be searched for nar attachments.
 
Fields inherited from interface org.apache.maven.plugin.nar.NarConstants
LOG_LEVEL_DEBUG, LOG_LEVEL_ERROR, LOG_LEVEL_INFO, LOG_LEVEL_VERBOSE, LOG_LEVEL_WARNING, NAR, NAR_AOL, NAR_EXTENSION, NAR_NO_ARCH, NAR_ROLE_HINT, NAR_TYPE
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AbstractDownloadMojo()
           
 
Method Summary
 
Methods inherited from class org.apache.maven.plugin.nar.AbstractDependencyMojo
getLocalRepository, getNarManager
 
Methods inherited from class org.apache.maven.plugin.nar.AbstractNarMojo
execute, getAOL, getArchitecture, getBasedir, getFinalName, getLayout, getLinker, getMavenProject, getOS, getOutputDirectory, getTargetDirectory, getTestTargetDirectory, getTestUnpackDirectory, getUnpackDirectory, narExecute, validate
 
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

artifactResolver

protected org.apache.maven.artifact.resolver.ArtifactResolver artifactResolver
Artifact resolver, needed to download the attached nar files.


remoteArtifactRepositories

protected java.util.List remoteArtifactRepositories
Remote repositories which will be searched for nar attachments.


classifiers

protected java.util.List classifiers
List of classifiers which you want download. Example ppc-MacOSX-g++, x86-Windows-msvc, i386-Linux-g++.

Constructor Detail

AbstractDownloadMojo

public AbstractDownloadMojo()


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.