org.apache.maven.artifact.resolver
Interface ArtifactResolver


public interface ArtifactResolver

I want to use it for hidding the fact that sometime artifact must be downloaded. I am just asking LocalRepository for given artifact and I don't care if it is alredy there or how it will get there.

Version:
$Id: ArtifactResolver.java 495147 2007-01-11 07:47:53Z jvanzyl $
Author:
Michal Maczka

Field Summary
static String ROLE
           
 
Method Summary
 void resolve(Artifact artifact, List remoteRepositories, ArtifactRepository localRepository)
           
 void resolveAlways(Artifact artifact, List remoteRepositories, ArtifactRepository localRepository)
           
 ArtifactResolutionResult resolveTransitively(Set artifacts, Artifact originatingArtifact, ArtifactRepository localRepository, List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter)
           
 ArtifactResolutionResult resolveTransitively(Set artifacts, Artifact originatingArtifact, List remoteRepositories, ArtifactRepository localRepository, ArtifactMetadataSource source)
           
 ArtifactResolutionResult resolveTransitively(Set artifacts, Artifact originatingArtifact, List remoteRepositories, ArtifactRepository localRepository, ArtifactMetadataSource source, List listeners)
           
 ArtifactResolutionResult resolveTransitively(Set artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository, List remoteRepositories, ArtifactMetadataSource source)
           
 ArtifactResolutionResult resolveTransitively(Set artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository, List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter)
           
 ArtifactResolutionResult resolveTransitively(Set artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository, List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter, List listeners)
           
 

Field Detail

ROLE

static final String ROLE
Method Detail

resolve

void resolve(Artifact artifact,
             List remoteRepositories,
             ArtifactRepository localRepository)
             throws ArtifactResolutionException,
                    ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException

resolveTransitively

ArtifactResolutionResult resolveTransitively(Set artifacts,
                                             Artifact originatingArtifact,
                                             List remoteRepositories,
                                             ArtifactRepository localRepository,
                                             ArtifactMetadataSource source)
                                             throws ArtifactResolutionException,
                                                    ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException

resolveTransitively

ArtifactResolutionResult resolveTransitively(Set artifacts,
                                             Artifact originatingArtifact,
                                             List remoteRepositories,
                                             ArtifactRepository localRepository,
                                             ArtifactMetadataSource source,
                                             List listeners)
                                             throws ArtifactResolutionException,
                                                    ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException

resolveTransitively

ArtifactResolutionResult resolveTransitively(Set artifacts,
                                             Artifact originatingArtifact,
                                             ArtifactRepository localRepository,
                                             List remoteRepositories,
                                             ArtifactMetadataSource source,
                                             ArtifactFilter filter)
                                             throws ArtifactResolutionException,
                                                    ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException

resolveTransitively

ArtifactResolutionResult resolveTransitively(Set artifacts,
                                             Artifact originatingArtifact,
                                             Map managedVersions,
                                             ArtifactRepository localRepository,
                                             List remoteRepositories,
                                             ArtifactMetadataSource source)
                                             throws ArtifactResolutionException,
                                                    ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException

resolveTransitively

ArtifactResolutionResult resolveTransitively(Set artifacts,
                                             Artifact originatingArtifact,
                                             Map managedVersions,
                                             ArtifactRepository localRepository,
                                             List remoteRepositories,
                                             ArtifactMetadataSource source,
                                             ArtifactFilter filter)
                                             throws ArtifactResolutionException,
                                                    ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException

resolveTransitively

ArtifactResolutionResult resolveTransitively(Set artifacts,
                                             Artifact originatingArtifact,
                                             Map managedVersions,
                                             ArtifactRepository localRepository,
                                             List remoteRepositories,
                                             ArtifactMetadataSource source,
                                             ArtifactFilter filter,
                                             List listeners)
                                             throws ArtifactResolutionException,
                                                    ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException

resolveAlways

void resolveAlways(Artifact artifact,
                   List remoteRepositories,
                   ArtifactRepository localRepository)
                   throws ArtifactResolutionException,
                          ArtifactNotFoundException
Throws:
ArtifactResolutionException
ArtifactNotFoundException


Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.