public interface ArtifactRepository
String pathOfRemoteRepositoryMetadata(ArtifactMetadata artifactMetadata)
String pathOfLocalRepositoryMetadata(ArtifactMetadata metadata, ArtifactRepository repository)
String getUrl()
void setUrl(String url)
String getBasedir()
String getProtocol()
String getId()
void setId(String id)
ArtifactRepositoryPolicy getSnapshots()
void setSnapshotUpdatePolicy(ArtifactRepositoryPolicy policy)
ArtifactRepositoryPolicy getReleases()
void setReleaseUpdatePolicy(ArtifactRepositoryPolicy policy)
ArtifactRepositoryLayout getLayout()
void setLayout(ArtifactRepositoryLayout layout)
String getKey()
@Deprecated boolean isUniqueVersion()
@Deprecated boolean isBlacklisted()
@Deprecated void setBlacklisted(boolean blackListed)
boolean isBlocked()
void setBlocked(boolean blocked)
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()
void setProxy(Proxy proxy)
Proxy getProxy()
List<ArtifactRepository> getMirroredRepositories()
void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories)
mirroredRepositories
- the repositories that the actual one mirrorsCopyright © 2001–2022 The Apache Software Foundation. All rights reserved.