org.apache.maven.repository.metadata
Class TestMetadataSource
java.lang.Object
org.apache.maven.repository.metadata.TestMetadataSource
- All Implemented Interfaces:
- ArtifactMetadataSource
@Component(role=org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource.class)
public class TestMetadataSource
- extends Object
- implements ArtifactMetadataSource
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TestMetadataSource
public TestMetadataSource()
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.