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
- 应该确定其可用版本的工件不能是null
.null
)。boolean isProjectAware()
true
如果存储库由实际项目支持,false
否则。void setAuthentication(Authentication authentication)
Authentication getAuthentication()
void setProxy(Proxy proxy)
Proxy getProxy()
List<ArtifactRepository> getMirroredRepositories()
void setMirroredRepositories(List<ArtifactRepository> mirroredRepositories)
mirroredRepositories
- 实际镜像的存储库版权所有 © 2001–2022 Apache 软件基金会。版权所有。