在一个项目中需要用到如下的依赖
使用默认的源下载了几分钟才20m,遂百度发现如下方法可以解决此问题
操作步骤
1.创建或打开settings.xml,粘贴进去以下xml
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0
https://maven.apache.org/xsd/settings-1.0.0.xsd">
<mirrors>
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
</settings>
2.覆盖配置, 应用,确定,然后还没来得及截屏文件就下载完毕了🤣🤣🤣
微信公号:黑客start