org.apache.maven.artifact.metadata
Interface ArtifactMetadataSource

All Superinterfaces:
ArtifactMetadataSource

Deprecated.

@Deprecated
public interface ArtifactMetadataSource
extends ArtifactMetadataSource


Method Summary
 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.
 

Method Detail

retrieve

ResolutionGroup retrieve(MetadataResolutionRequest request)
                         throws ArtifactMetadataRetrievalException
Deprecated. 
Specified by:
retrieve in interface ArtifactMetadataSource
Throws:
ArtifactMetadataRetrievalException

retrieve

ResolutionGroup retrieve(Artifact artifact,
                         ArtifactRepository localRepository,
                         List<ArtifactRepository> remoteRepositories)
                         throws ArtifactMetadataRetrievalException
Deprecated. 
Specified by:
retrieve in interface ArtifactMetadataSource
Throws:
ArtifactMetadataRetrievalException

retrieveAvailableVersions

List<ArtifactVersion> retrieveAvailableVersions(MetadataResolutionRequest request)
                                                throws ArtifactMetadataRetrievalException
Deprecated. 
Throws:
ArtifactMetadataRetrievalException

retrieveAvailableVersions

List<ArtifactVersion> retrieveAvailableVersions(Artifact artifact,
                                                ArtifactRepository localRepository,
                                                List<ArtifactRepository> remoteRepositories)
                                                throws ArtifactMetadataRetrievalException
Deprecated. 
Description copied from interface: ArtifactMetadataSource
Get a list of available versions for an artifact in the remote repository

Specified by:
retrieveAvailableVersions in interface ArtifactMetadataSource
Parameters:
artifact - 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 repository
remoteRepositories - remote repositories, List $lt; ArtifactRepository >
Returns:
List $lt; ArtifactVersion >
Throws:
ArtifactMetadataRetrievalException - in case of error while retrieving repository metadata from the repository.
ArtifactMetadataRetrievalException

retrieveAvailableVersionsFromDeploymentRepository

List<ArtifactVersion> retrieveAvailableVersionsFromDeploymentRepository(Artifact artifact,
                                                                        ArtifactRepository localRepository,
                                                                        ArtifactRepository remoteRepository)
                                                                        throws ArtifactMetadataRetrievalException
Deprecated. 
Description copied from interface: ArtifactMetadataSource
Get a list of available versions for an artifact in the remote deployment repository. This ignores any update policy checks and mirrors and always retrieves the latest information from the given repository.

Specified by:
retrieveAvailableVersionsFromDeploymentRepository in interface ArtifactMetadataSource
Parameters:
artifact - 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 repository
Returns:
List $lt; ArtifactVersion >
Throws:
ArtifactMetadataRetrievalException - in case of error while retrieving repository metadata from the repository.
ArtifactMetadataRetrievalException


Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.