org.apache.maven.artifact.repository.metadata
Interface RepositoryMetadataManager
- All Known Implementing Classes:
- DefaultRepositoryMetadataManager
public interface RepositoryMetadataManager
resolve
void resolve(RepositoryMetadata repositoryMetadata,
List repositories,
ArtifactRepository localRepository)
throws RepositoryMetadataResolutionException
- Throws:
RepositoryMetadataResolutionException
resolveAlways
void resolveAlways(RepositoryMetadata metadata,
ArtifactRepository localRepository,
ArtifactRepository remoteRepository)
throws RepositoryMetadataResolutionException
- Throws:
RepositoryMetadataResolutionException
deploy
void deploy(ArtifactMetadata metadata,
ArtifactRepository localRepository,
ArtifactRepository deploymentRepository)
throws RepositoryMetadataDeploymentException
- Deploy metadata to the remote repository.
- Parameters:
metadata
- the metadata to deploylocalRepository
- the local repository to install to firstdeploymentRepository
- the remote repository to deploy to
- Throws:
RepositoryMetadataDeploymentException
install
void install(ArtifactMetadata metadata,
ArtifactRepository localRepository)
throws RepositoryMetadataInstallationException
- Install the metadata in the local repository.
- Parameters:
metadata
- the metadatalocalRepository
- the local repository
- Throws:
RepositoryMetadataInstallationException
Copyright © 2001-2009 The Apache Software Foundation. All Rights Reserved.