1.设置setting文件
alimaven aliyun maven http://maven.aliyun.com/nexus/content/repositories/central/ central junit junit Address/ http://jcenter.bintray.com/ central
2.添加证书
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true


2.重启后加载就完事

本文介绍如何设置Maven项目的setting文件,包括阿里云Maven仓库的配置及Junit等依赖地址。此外还介绍了如何添加必要的SSL证书以确保依赖的安全下载。

1万+

被折叠的 条评论
为什么被折叠?



