@Component(role=org.apache.maven.artifact.metadata.ArtifactMetadataSource.class, hint="test") public class TestMetadataSource extends Object implements org.apache.maven.artifact.metadata.ArtifactMetadataSource
Constructor and Description |
---|
TestMetadataSource() |
Modifier and Type | Method and Description |
---|---|
org.apache.maven.artifact.metadata.ResolutionGroup |
retrieve(Artifact artifact,
ArtifactRepository localRepository,
List<ArtifactRepository> remoteRepositories) |
org.apache.maven.artifact.metadata.ResolutionGroup |
retrieve(org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest request) |
List<ArtifactVersion> |
retrieveAvailableVersions(Artifact artifact,
ArtifactRepository localRepository,
List<ArtifactRepository> remoteRepositories) |
List<ArtifactVersion> |
retrieveAvailableVersions(org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest request) |
List<ArtifactVersion> |
retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact,
ArtifactRepository localRepository,
ArtifactRepository remoteRepository) |
public TestMetadataSource()
public org.apache.maven.artifact.metadata.ResolutionGroup retrieve(Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) throws org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
retrieve
in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
public List<ArtifactVersion> retrieveAvailableVersions(Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) throws org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
retrieveAvailableVersions
in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
public List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
retrieveAvailableVersionsFromDeploymentRepository
in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
public org.apache.maven.artifact.metadata.ResolutionGroup retrieve(org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest request) throws org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
retrieve
in interface org.apache.maven.repository.legacy.metadata.ArtifactMetadataSource
org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
public List<ArtifactVersion> retrieveAvailableVersions(org.apache.maven.repository.legacy.metadata.MetadataResolutionRequest request) throws org.apache.maven.artifact.metadata.ArtifactMetadataRetrievalException
Copyright © 2001–2014 The Apache Software Foundation. All rights reserved.