org.apache.maven.artifact.resolver
Class DefaultArtifactResolver
java.lang.Object
org.codehaus.plexus.logging.AbstractLogEnabled
org.apache.maven.artifact.resolver.DefaultArtifactResolver
- All Implemented Interfaces:
- ArtifactResolver, org.codehaus.plexus.logging.LogEnabled
public class DefaultArtifactResolver
- extends org.codehaus.plexus.logging.AbstractLogEnabled
- implements ArtifactResolver
Method Summary |
void |
configureNumberOfThreads(int threads)
|
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)
|
Methods inherited from class org.codehaus.plexus.logging.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
artifactFactory
protected ArtifactFactory artifactFactory
DefaultArtifactResolver
public DefaultArtifactResolver()
resolve
public void resolve(Artifact artifact,
List remoteRepositories,
ArtifactRepository localRepository)
throws ArtifactResolutionException,
ArtifactNotFoundException
- Specified by:
resolve
in interface ArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
resolveAlways
public void resolveAlways(Artifact artifact,
List remoteRepositories,
ArtifactRepository localRepository)
throws ArtifactResolutionException,
ArtifactNotFoundException
- Specified by:
resolveAlways
in interface ArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set artifacts,
Artifact originatingArtifact,
ArtifactRepository localRepository,
List remoteRepositories,
ArtifactMetadataSource source,
ArtifactFilter filter)
throws ArtifactResolutionException,
ArtifactNotFoundException
- Specified by:
resolveTransitively
in interface ArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set artifacts,
Artifact originatingArtifact,
Map managedVersions,
ArtifactRepository localRepository,
List remoteRepositories,
ArtifactMetadataSource source)
throws ArtifactResolutionException,
ArtifactNotFoundException
- Specified by:
resolveTransitively
in interface ArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set artifacts,
Artifact originatingArtifact,
Map managedVersions,
ArtifactRepository localRepository,
List remoteRepositories,
ArtifactMetadataSource source,
ArtifactFilter filter)
throws ArtifactResolutionException,
ArtifactNotFoundException
- Specified by:
resolveTransitively
in interface ArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set artifacts,
Artifact originatingArtifact,
Map managedVersions,
ArtifactRepository localRepository,
List remoteRepositories,
ArtifactMetadataSource source,
ArtifactFilter filter,
List listeners)
throws ArtifactResolutionException,
ArtifactNotFoundException
- Specified by:
resolveTransitively
in interface ArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set artifacts,
Artifact originatingArtifact,
List remoteRepositories,
ArtifactRepository localRepository,
ArtifactMetadataSource source)
throws ArtifactResolutionException,
ArtifactNotFoundException
- Specified by:
resolveTransitively
in interface ArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set artifacts,
Artifact originatingArtifact,
List remoteRepositories,
ArtifactRepository localRepository,
ArtifactMetadataSource source,
List listeners)
throws ArtifactResolutionException,
ArtifactNotFoundException
- Specified by:
resolveTransitively
in interface ArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
configureNumberOfThreads
public void configureNumberOfThreads(int threads)
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.