1.maven下载
maven官网
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/ce074ad228eecbe92a05fa38448af14c.png)
2.maven配置环境变量
3.maven配置本地仓库(D:\Maven\apache-maven-3.8.1\conf\settings.xml)
<!-- 配置本地仓库路径 -->
<localRepository>D:\Maven\LocalRepository</localRepository>
4.maven配置阿里云镜像(D:\Maven\apache-maven-3.8.1\conf\settings.xml)
<mirrors>
<!-- mirror
| Specifies a repository mirror site to use instead of a given repository. The repository that
| this mirror serves has an ID that matches the mirrorOf element of this mirror. IDs are used
| for inheritance and direct lookup purposes, and must be unique across the set of mirrors.
|
<mirror>
<id>mirrorId</id>
<mirrorOf>repositoryId</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://my.repository.com/repo/path</url>
</mirror>
-->
<!-- <mirror>
<id>maven-default-http-blocker</id>
<mirrorOf>external:http:*</mirrorOf>
<name>Pseudo repository to mirror external repositories initially using HTTP.</name>
<url>http://0.0.0.0/</url>
<blocked>true</blocked>
</mirror> -->
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*,!jeecg,!jeecg-snapshots</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>
</mirrors>
5.maven配置IDEA
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/59397e74202263ca753e5ab2e1afb588.png)
6.打完收功
配置完毕,纵享丝滑。