Class DefaultArtifactResolver
java.lang.Object
org.apache.maven.artifact.resolver.DefaultArtifactResolver
- All Implemented Interfaces:
ArtifactResolver
,org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
@Named
@Singleton
@Deprecated
public class DefaultArtifactResolver
extends Object
implements ArtifactResolver, org.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
Deprecated.
-
Field Summary
Fields inherited from interface org.apache.maven.artifact.resolver.ArtifactResolver
ROLE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
dispose()
Deprecated.void
resolve
(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) Deprecated.void
resolve
(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, org.apache.maven.wagon.events.TransferListener resolutionListener) Deprecated.resolve
(ArtifactResolutionRequest request) Deprecated.void
resolveAlways
(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) Deprecated.resolveTransitively
(Set<Artifact> artifacts, Artifact originatingArtifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, ArtifactMetadataSource source) Deprecated.resolveTransitively
(Set<Artifact> artifacts, Artifact originatingArtifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, ArtifactMetadataSource source, List<ResolutionListener> listeners) Deprecated.resolveTransitively
(Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source) Deprecated.resolveTransitively
(Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter) Deprecated.resolveTransitively
(Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter, List<ResolutionListener> listeners) Deprecated.resolveTransitively
(Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter, List<ResolutionListener> listeners, List<ConflictResolver> conflictResolvers) Deprecated.resolveTransitively
(Set<Artifact> artifacts, Artifact originatingArtifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter) Deprecated.Deprecated.
-
Field Details
-
artifactFactory
Deprecated.
-
-
Constructor Details
-
DefaultArtifactResolver
public DefaultArtifactResolver()Deprecated.
-
-
Method Details
-
resolve
public void resolve(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, org.apache.maven.wagon.events.TransferListener resolutionListener) throws ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
resolve
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
resolveAlways
public void resolveAlways(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
resolveAlways
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter) throws ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
resolveTransitively
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source) throws ArtifactResolutionException, ArtifactNotFoundExceptionDeprecated.- Specified by:
resolveTransitively
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter) throws ArtifactResolutionException, ArtifactNotFoundExceptionDeprecated.- Specified by:
resolveTransitively
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, ArtifactMetadataSource source) throws ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
resolveTransitively
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, ArtifactMetadataSource source, List<ResolutionListener> listeners) throws ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
resolveTransitively
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter, List<ResolutionListener> listeners) throws ArtifactResolutionException, ArtifactNotFoundExceptionDeprecated.- Specified by:
resolveTransitively
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
resolveTransitively
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, Map<String, Artifact> managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter, List<ResolutionListener> listeners, List<ConflictResolver> conflictResolvers) throws ArtifactResolutionException, ArtifactNotFoundExceptionDeprecated. -
resolveWithExceptions
public ArtifactResolutionResult resolveWithExceptions(ArtifactResolutionRequest request) throws ArtifactResolutionException, ArtifactNotFoundException Deprecated. -
resolve
Deprecated.- Specified by:
resolve
in interfaceArtifactResolver
-
resolve
public void resolve(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ArtifactResolutionException, ArtifactNotFoundException Deprecated.- Specified by:
resolve
in interfaceArtifactResolver
- Throws:
ArtifactResolutionException
ArtifactNotFoundException
-
dispose
public void dispose()Deprecated.- Specified by:
dispose
in interfaceorg.codehaus.plexus.personality.plexus.lifecycle.phase.Disposable
-