配置
为了提高maven下载jar包速度,配置阿里云镜像,
在maven安装目录找到conf/settings.xml,用编辑器打开setting.xml找到<mirrors></mirrors>
标签在里面添加如下:
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
![在这里插入图片描述](https://i-blog.csdnimg.cn/blog_migrate/cab85f6b4b1e63bb69929607ba8f666c.png)