org.apache.maven.artifact.resolver
Interface ArtifactCollector

All Known Implementing Classes:
DefaultArtifactCollector

public interface ArtifactCollector

Artifact collector - takes a set of original artifacts and resolves all of the best versions to use along with their metadata. No artifacts are downloaded.

Version:
$Id: ArtifactCollector.java 640549 2008-03-24 20:05:11Z bentmann $
Author:
Brett Porter

Method Summary
 ArtifactResolutionResult collect(Set artifacts, Artifact originatingArtifact, ArtifactRepository localRepository, List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter, List listeners)
           
 ArtifactResolutionResult collect(Set artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository, List remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter, List listeners)
           
 

Method Detail

collect

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

collect

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


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