本课程使用的maven版本为3.6.1
一、maven安装方法
下载地址:
https://archive.apache.org/dist/maven/maven-3/
安装方法:
https://www.runoob.com/maven/maven-setup.html
二、配置maven远程仓库为阿里云
参考:
https://help.aliyun.com/document_detail/102512.html
修改config/settings.xml,添加mirrors属性
<mirrors>
<mirror>
<id>aliyunmaven</id>
<mirrorOf>central</mirrorOf>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
</mirrors>