1. 打开(或创建) setting.xml
2.编写镜像脚本
代码如下:
nexus-aliyun * Nexus aliyun http://maven.aliyun.com/nexus/content/groups/public
3.再次下载依赖
4.依赖导入成功

1. 打开(或创建) setting.xml
2.编写镜像脚本
代码如下:
nexus-aliyun * Nexus aliyun http://maven.aliyun.com/nexus/content/groups/public
3.再次下载依赖
4.依赖导入成功