1、下载解压MAVEN压缩包
2、配置环境变量
3 配置MAVEN
3.1新建respository文件夹(作用于存放maven下载而来的jar包)
3.2打开conf目录下的settings.xml文件
3.3配置仓库路径
3.4配置阿里云镜像,找到<mirrors>
标签并在该标签中添加阿里云镜像配置:
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>