@Deprecated public interface ArtifactMetadataSource extends ArtifactMetadataSource
| Modifier and Type | Method and Description | 
|---|---|
| ResolutionGroup | retrieve(Artifact artifact,
        ArtifactRepository localRepository,
        List<ArtifactRepository> remoteRepositories)Deprecated.  | 
| ResolutionGroup | retrieve(MetadataResolutionRequest request)Deprecated.  | 
| List<ArtifactVersion> | retrieveAvailableVersions(Artifact artifact,
                         ArtifactRepository localRepository,
                         List<ArtifactRepository> remoteRepositories)Deprecated.  Get a list of available versions for an artifact in the remote repository | 
| List<ArtifactVersion> | retrieveAvailableVersions(MetadataResolutionRequest request)Deprecated.  | 
| List<ArtifactVersion> | retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact,
                                                 ArtifactRepository localRepository,
                                                 ArtifactRepository remoteRepository)Deprecated.  Get a list of available versions for an artifact in the remote deployment repository. | 
ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException
retrieve in interface ArtifactMetadataSourceArtifactMetadataRetrievalExceptionResolutionGroup retrieve(Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) throws ArtifactMetadataRetrievalException
retrieve in interface ArtifactMetadataSourceArtifactMetadataRetrievalExceptionList<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException
List<ArtifactVersion> retrieveAvailableVersions(Artifact artifact, ArtifactRepository localRepository, List<ArtifactRepository> remoteRepositories) throws ArtifactMetadataRetrievalException
ArtifactMetadataSourceretrieveAvailableVersions in interface ArtifactMetadataSourceartifact - artifact we are interested in. Only groupid and artifactId
                           are needed, for instance the following code will work
                           artifactFactory.createProjectArtifact( "org.apache.maven", "maven", "" )localRepository - local repositoryremoteRepositories - remote repositories, List $lt; ArtifactRepository >List $lt; ArtifactVersion >ArtifactMetadataRetrievalException - in case of error while retrieving repository metadata from the repository.ArtifactMetadataRetrievalExceptionList<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact, ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws ArtifactMetadataRetrievalException
ArtifactMetadataSourceretrieveAvailableVersionsFromDeploymentRepository in interface ArtifactMetadataSourceartifact - artifact we are interested in. Only groupid and artifactId are
            needed, for instance the following code will work
            artifactFactory.createProjectArtifact( "org.apache.maven", "maven", "" )localRepository - local repositoryremoteRepository - remote repositoryList $lt; ArtifactVersion >ArtifactMetadataRetrievalException - in case of error while retrieving repository metadata from the repository.ArtifactMetadataRetrievalExceptionCopyright © 2001–2021 The Apache Software Foundation. All rights reserved.