springboot maven 更新jar包速度慢的问题
2021-05-08 16:27
阅读:953
标签:oschina net dea set enc pos led pre color
maven更新jar包很慢可以试试使用阿里的国内镜像去更新jar包
找到你的maven配置的 settings.xml 配置文件
默认是在C:\Users\用户\.m\ 路径下
如果是自己安装的maven 仓库 :自己安装maven仓库\conf 目录下
替换以下内容:
1 xml version="1.0" encoding="UTF-8"?> 2 settings> 3 localRepository>D:\\mavenpoollocalRepository> 4 mirrors> 5 mirror> 6 id>alimavenid> 7 name>aliyun mavenname> 8 url>http://maven.aliyun.com/nexus/content/groups/public/url> 9 mirrorOf>centralmirrorOf> 10 mirror> 11 mirrors> 12 profiles> 13 profile> 14 id>nexusid> 15 repositories> 16 repository> 17 id>nexusid> 18 name>local private nexusname> 19 url>http://maven.oschina.net/content/groups/public/url> 20 releases> 21 enabled>trueenabled> 22 releases> 23 snapshots> 24 enabled>falseenabled> 25 snapshots> 26 repository> 27 repositories> 28 29 pluginRepositories> 30 pluginRepository> 31 id>nexusid> 32 name>local private nexusname> 33 url>http://maven.oschina.net/content/groups/public/url> 34 releases> 35 enabled>trueenabled> 36 releases> 37 snapshots> 38 enabled>falseenabled> 39 snapshots> 40 pluginRepository> 41 pluginRepositories> 42 profile>profiles> 43 settings>
保存 然后重启一下IDEA就好了
springboot maven 更新jar包速度慢的问题
标签:oschina net dea set enc pos led pre color
原文地址:https://www.cnblogs.com/sunxun001/p/13176451.html
文章来自:搜素材网的编程语言模块,转载请注明文章出处。
文章标题:springboot maven 更新jar包速度慢的问题
文章链接:http://soscw.com/index.php/essay/84070.html
文章标题:springboot maven 更新jar包速度慢的问题
文章链接:http://soscw.com/index.php/essay/84070.html
评论
亲,登录后才可以留言!