feat: java maven 支持tencent镜像

resolve RubyMetric/chsrc#238
This commit is contained in:
BingChunMoLi 2025-08-05 20:08:40 +08:00
parent f17a1c70b8
commit 9542ce33bc
No known key found for this signature in database
GPG Key ID: E08FCE087CD04CCC

View File

@ -20,8 +20,11 @@ static SourceProvider_t pl_java_upstream =
static Source_t pl_java_sources[] =
{
{&pl_java_upstream, "https://repo1.maven.org/maven2/", NULL},
/* 阿里镜像旧地址 https://maven.aliyun.com/nexus/content/groups/public */
{&Ali, "https://maven.aliyun.com/repository/public/", DelegateToMirror},
/* 华为镜像CDN地址 https://repo.huaweicloud.com/repository/maven/ */
{&Huawei, "https://mirrors.huaweicloud.com/repository/maven/", DelegateToMirror},
{&Tencent, "https://mirrors.cloud.tencent.com/nexus/repository/maven-public/", DelegateToMirror},
/* 网易的24小时更新一次 */
{&Netease, "http://mirrors.163.com/maven/repository/maven-public/", DelegateToMirror}
};
@ -122,4 +125,4 @@ pl_java_feat (char *option)
return f;
}
def_target_gsrf(pl_java);
def_target_gsrf(pl_java);