Interface RepositoryMetadataManager
- All Known Implementing Classes:
DefaultRepositoryMetadataManager
public interface RepositoryMetadataManager
RepositoryMetadataManager
-
Method Summary
Modifier and TypeMethodDescriptionvoid
deploy
(ArtifactMetadata metadata, ArtifactRepository localRepository, ArtifactRepository deploymentRepository) Deploy metadata to the remote repository.void
install
(ArtifactMetadata metadata, ArtifactRepository localRepository) Install the metadata in the local repository.void
resolve
(RepositoryMetadata repositoryMetadata, List<ArtifactRepository> repositories, ArtifactRepository localRepository) void
resolve
(RepositoryMetadata repositoryMetadata, RepositoryRequest repositoryRequest) void
resolveAlways
(RepositoryMetadata metadata, ArtifactRepository localRepository, ArtifactRepository remoteRepository)
-
Method Details
-
resolve
void resolve(RepositoryMetadata repositoryMetadata, RepositoryRequest repositoryRequest) throws RepositoryMetadataResolutionException -
resolve
void resolve(RepositoryMetadata repositoryMetadata, List<ArtifactRepository> repositories, ArtifactRepository localRepository) throws RepositoryMetadataResolutionException -
resolveAlways
void resolveAlways(RepositoryMetadata metadata, ArtifactRepository localRepository, ArtifactRepository remoteRepository) 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
- in case of metadata deployment issue
-
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
- in case of metadata installation issue
-