org.apache.maven.artifact.deployer
Class SimpleArtifactMetadataSource
java.lang.Object
org.apache.maven.artifact.deployer.SimpleArtifactMetadataSource
- All Implemented Interfaces:
- ArtifactMetadataSource
public class SimpleArtifactMetadataSource
- extends Object
- implements ArtifactMetadataSource
- Author:
- Jason van Zyl
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimpleArtifactMetadataSource
public SimpleArtifactMetadataSource()
retrieve
public ResolutionGroup retrieve(Artifact artifact,
ArtifactRepository localRepository,
List<ArtifactRepository> remoteRepositories)
throws ArtifactMetadataRetrievalException
- Specified by:
retrieve
in interface ArtifactMetadataSource
- Throws:
ArtifactMetadataRetrievalException
retrieveAvailableVersions
public List<ArtifactVersion> retrieveAvailableVersions(Artifact artifact,
ArtifactRepository localRepository,
List<ArtifactRepository> remoteRepositories)
throws ArtifactMetadataRetrievalException
- Specified by:
retrieveAvailableVersions
in interface ArtifactMetadataSource
- Throws:
ArtifactMetadataRetrievalException
retrieveAvailableVersionsFromDeploymentRepository
public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact,
ArtifactRepository localRepository,
ArtifactRepository remoteRepository)
throws ArtifactMetadataRetrievalException
- Specified by:
retrieveAvailableVersionsFromDeploymentRepository
in interface ArtifactMetadataSource
- Throws:
ArtifactMetadataRetrievalException
retrieve
public ResolutionGroup retrieve(MetadataResolutionRequest request)
throws ArtifactMetadataRetrievalException
- Specified by:
retrieve
in interface ArtifactMetadataSource
- Throws:
ArtifactMetadataRetrievalException
Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.