public interface ArtifactRepository
String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
String getBasedir()
String getProtocol()
ArtifactRepositoryPolicy getSnapshots()
void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy)
ArtifactRepositoryPolicy getReleases()
void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy)
ArtifactRepositoryLayout getLayout()
void setLayout(ArtifactRepositoryLayout layout)
@Deprecated boolean isUniqueVersion()
@Deprecated boolean isBlacklisted()
@Deprecated void setBlacklisted(boolean blackListed)
List<String> findVersions(Artifact artifact)
artifact
- The artifact whose available versions should be determined, must not be null
.null
.boolean isProjectAware()
true
if the repository is backed by actual projects, false
otherwise.void setAuthentication(Authentication authentication)
Authentication getAuthentication()
List<ArtifactRepository> getMirroredRepositories()
void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories)
mirroredRepositories
- the repositories that the actual one mirrorsCopyright © 2001–2014 The Apache Software Foundation. All rights reserved.