public class StubArtifactResolver extends Object implements ArtifactResolver
ROLE
Constructor and Description |
---|
StubArtifactResolver(ArtifactStubFactory factory,
boolean throwArtifactResolutionException,
boolean throwArtifactNotFoundException)
Default constructor
|
public StubArtifactResolver(ArtifactStubFactory factory, boolean throwArtifactResolutionException, boolean throwArtifactNotFoundException)
factory
- throwArtifactResolutionException
- throwArtifactNotFoundException
- public void resolve(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ArtifactResolutionException, ArtifactNotFoundException
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, ArtifactMetadataSource source) throws ArtifactResolutionException, ArtifactNotFoundException
resolveTransitively
in interface ArtifactResolver
null
.ArtifactResolutionException
ArtifactNotFoundException
ArtifactResolver.resolveTransitively(java.util.Set, org.apache.maven.artifact.Artifact, java.util.List, org.apache.maven.artifact.repository.ArtifactRepository, org.apache.maven.artifact.metadata.ArtifactMetadataSource)
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, ArtifactMetadataSource source, List<ResolutionListener> listeners) throws ArtifactResolutionException, ArtifactNotFoundException
resolveTransitively
in interface ArtifactResolver
null
.ArtifactResolutionException
ArtifactNotFoundException
ArtifactResolver.resolveTransitively(java.util.Set, org.apache.maven.artifact.Artifact, java.util.List, org.apache.maven.artifact.repository.ArtifactRepository, org.apache.maven.artifact.metadata.ArtifactMetadataSource, java.util.List)
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter) throws ArtifactResolutionException, ArtifactNotFoundException
resolveTransitively
in interface ArtifactResolver
null
.ArtifactResolutionException
ArtifactNotFoundException
ArtifactResolver.resolveTransitively(java.util.Set, org.apache.maven.artifact.Artifact, org.apache.maven.artifact.repository.ArtifactRepository, java.util.List, org.apache.maven.artifact.metadata.ArtifactMetadataSource, org.apache.maven.artifact.resolver.filter.ArtifactFilter)
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source) throws ArtifactResolutionException, ArtifactNotFoundException
resolveTransitively
in interface ArtifactResolver
null
.ArtifactResolutionException
ArtifactNotFoundException
ArtifactResolver.resolveTransitively(java.util.Set, org.apache.maven.artifact.Artifact, java.util.Map, org.apache.maven.artifact.repository.ArtifactRepository, java.util.List, org.apache.maven.artifact.metadata.ArtifactMetadataSource)
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter) throws ArtifactResolutionException, ArtifactNotFoundException
resolveTransitively
in interface ArtifactResolver
null
.ArtifactResolutionException
ArtifactNotFoundException
ArtifactResolver.resolveTransitively(java.util.Set, org.apache.maven.artifact.Artifact, java.util.Map, org.apache.maven.artifact.repository.ArtifactRepository, java.util.List, org.apache.maven.artifact.metadata.ArtifactMetadataSource, org.apache.maven.artifact.resolver.filter.ArtifactFilter)
public ArtifactResolutionResult resolveTransitively(Set<Artifact> artifacts, Artifact originatingArtifact, Map managedVersions, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories, ArtifactMetadataSource source, ArtifactFilter filter, List<ResolutionListener> listeners) throws ArtifactResolutionException, ArtifactNotFoundException
resolveTransitively
in interface ArtifactResolver
null
.ArtifactResolutionException
ArtifactNotFoundException
ArtifactResolver.resolveTransitively(java.util.Set, org.apache.maven.artifact.Artifact, java.util.Map, org.apache.maven.artifact.repository.ArtifactRepository, java.util.List, org.apache.maven.artifact.metadata.ArtifactMetadataSource, org.apache.maven.artifact.resolver.filter.ArtifactFilter, java.util.List)
public void resolveAlways(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws ArtifactResolutionException, ArtifactNotFoundException
public void resolve(Artifact artifact, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository, org.apache.maven.wagon.events.TransferListener downloadMonitor) throws ArtifactResolutionException, ArtifactNotFoundException
resolve
in interface ArtifactResolver
ArtifactResolutionException
ArtifactNotFoundException
public ArtifactResolutionResult collect(ArtifactResolutionRequest request)
public ArtifactResolutionResult resolve(ArtifactResolutionRequest request)
resolve
in interface ArtifactResolver
Copyright © 2008–2014 The Apache Software Foundation. All rights reserved.