Update Java upstream

This commit is contained in:
Aoran Zeng 2024-12-18 21:10:06 +08:00
parent 920933fc47
commit 628f887a3b
No known key found for this signature in database
GPG Key ID: 8F8BA8488E10ED98

View File

@ -3,17 +3,23 @@
* ------------------------------------------------------------- * -------------------------------------------------------------
* File Authors : Aoran Zeng <ccmywish@qq.com> * File Authors : Aoran Zeng <ccmywish@qq.com>
* Contributors : Nil Null <nil@null.org> * Contributors : Nil Null <nil@null.org>
* |
* Created On : <2023-08-31> * Created On : <2023-08-31>
* Last Modified : <2024-08-09> * Last Modified : <2024-12-18>
* ------------------------------------------------------------*/ * ------------------------------------------------------------*/
static SourceProvider_t pl_java_upstream =
{
def_upstream, "https://mvnrepository.com/",
def_need_measure_info
};
/** /**
* @update 2024-04-18 * @update 2024-12-18
* @note
*/ */
static Source_t pl_java_sources[] = static Source_t pl_java_sources[] =
{ {
{&UpstreamProvider, NULL}, {&pl_java_upstream, NULL},
{&Ali, "https://maven.aliyun.com/repository/public/"}, {&Ali, "https://maven.aliyun.com/repository/public/"},
{&Huawei, "https://mirrors.huaweicloud.com/repository/maven/"}, {&Huawei, "https://mirrors.huaweicloud.com/repository/maven/"},
{&Netease, "http://mirrors.163.com/maven/repository/maven-public/"} // 网易的24小时更新一次 {&Netease, "http://mirrors.163.com/maven/repository/maven-public/"} // 网易的24小时更新一次
@ -55,7 +61,7 @@ pl_java_getsrc (char *option)
} }
/** /**
* Java https://developer.aliyun.com/mirror/maven * @consult https://developer.aliyun.com/mirror/maven
*/ */
void void
pl_java_setsrc (char *option) pl_java_setsrc (char *option)