更新新的阿里仓库

This commit is contained in:
IzzelAliz 2019-02-01 14:12:38 +08:00 committed by GitHub
parent 803542c589
commit 08af87a60e

View File

@ -11,7 +11,8 @@ import java.util.concurrent.atomic.AtomicBoolean;
public class TDependency { public class TDependency {
// 阿里 http://maven.aliyun.com/nexus/content/groups/public // 阿里 http://maven.aliyun.com/nexus/content/groups/public
public static final String MAVEN_REPO = "http://repo.maven.apache.org/maven2"; // Maven Central
public static final String MAVEN_REPO = "https://maven.aliyun.com/repository/central";
/** /**
* 请求一个插件作为依赖这个插件将会在所有已经添加的 Jenkins 仓库Maven 仓库寻找 * 请求一个插件作为依赖这个插件将会在所有已经添加的 Jenkins 仓库Maven 仓库寻找
@ -85,4 +86,4 @@ public class TDependency {
private static int getDownloadPoolSize() { private static int getDownloadPoolSize() {
return Main.getInst().getConfig().getInt("DOWNLOAD-POOL-SIZE", 4); return Main.getInst().getConfig().getInt("DOWNLOAD-POOL-SIZE", 4);
} }
} }