1.官网下载maven3.6.1版本
2.解压,配置maven中conf中的setting文件,
(1)修改,本地仓库的位置
加入:D:Mavenrepository,修改本地仓库为D盘位置。
(2)修改下载对应依赖的地址,默认是国外的网站,这里修改为阿里的镜像网站
加入:
nexus-aliyun
central
Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public

1.官网下载maven3.6.1版本
2.解压,配置maven中conf中的setting文件,
(1)修改,本地仓库的位置
加入:D:Mavenrepository,修改本地仓库为D盘位置。
(2)修改下载对应依赖的地址,默认是国外的网站,这里修改为阿里的镜像网站
加入:
nexus-aliyun
central
Nexus aliyun
http://maven.aliyun.com/nexus/content/groups/public