@Component(role=org.apache.maven.artifact.repository.metadata.RepositoryMetadataManager.class) public class DefaultRepositoryMetadataManager extends AbstractLogEnabled implements RepositoryMetadataManager
Constructor and Description |
---|
DefaultRepositoryMetadataManager() |
Modifier and Type | Method and Description |
---|---|
void |
deploy(ArtifactMetadata metadata,
ArtifactRepository localRepository,
ArtifactRepository deploymentRepository) |
void |
install(ArtifactMetadata metadata,
ArtifactRepository localRepository) |
protected Metadata |
readMetadata(File mappingFile) |
void |
resolve(RepositoryMetadata metadata,
List<ArtifactRepository> remoteRepositories,
ArtifactRepository localRepository) |
void |
resolve(RepositoryMetadata metadata,
RepositoryRequest request) |
void |
resolveAlways(RepositoryMetadata metadata,
ArtifactRepository localRepository,
ArtifactRepository remoteRepository) |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public DefaultRepositoryMetadataManager()
public void resolve(RepositoryMetadata metadata, List<ArtifactRepository> remoteRepositories, ArtifactRepository localRepository) throws RepositoryMetadataResolutionException
resolve
in interface RepositoryMetadataManager
RepositoryMetadataResolutionException
public void resolve(RepositoryMetadata metadata, RepositoryRequest request) throws RepositoryMetadataResolutionException
resolve
in interface RepositoryMetadataManager
RepositoryMetadataResolutionException
protected Metadata readMetadata(File mappingFile) throws RepositoryMetadataReadException
RepositoryMetadataReadException
public void resolveAlways(RepositoryMetadata metadata, ArtifactRepository localRepository, ArtifactRepository remoteRepository) throws RepositoryMetadataResolutionException
resolveAlways
in interface RepositoryMetadataManager
RepositoryMetadataResolutionException
public void deploy(ArtifactMetadata metadata, ArtifactRepository localRepository, ArtifactRepository deploymentRepository) throws RepositoryMetadataDeploymentException
deploy
in interface RepositoryMetadataManager
RepositoryMetadataDeploymentException
public void install(ArtifactMetadata metadata, ArtifactRepository localRepository) throws RepositoryMetadataInstallationException
install
in interface RepositoryMetadataManager
RepositoryMetadataInstallationException
Copyright © 2001–2015 The Apache Software Foundation. All rights reserved.