maven仓库jar包下载太慢 阿里镜像推荐

maven仓库jar包下载太慢 阿里镜像推荐
一、仓库地址
Maven仓库1 : http://repo1.maven.org/maven2

maven
maven
http://repo1.maven.org/maven2
central

Maven仓库2:http://repo2.maven.org/maven2

Maven中央仓库: https://mvnrepository.com

阿里云云效果Maven(推荐): 仓库服务

淘宝镜像地址:CNPM Binaries Mirror

二、阿里镜像地址替换
在maven仓库搜索找到需要下载的稳定版本jar包

复制jar链接地址如下(lombok):

https://repo1.maven.org/maven2/org/projectlombok/lombok/1.18.24/lombok-1.18.24.jar

替换阿里云镜像地址如下:

三、其他仓库地址推荐
阿里传送门:CNPM Binaries Mirror

清华大学开源镜像站:Index of /

谷歌学术镜像站:谷歌学术镜像_Google镜像站

npmmirror镜像站:npmmirror 镜像站

Nexus镜像地址:https://central.sonatype.com

四、npm项目地址替换

查看当前源

npm config get registry

换淘宝源

npm config set registry https://registry.npm.taobao.org

更换其他源就把上面地址替换掉

腾讯源 https://mirrors.cloud.tencent.com/npm/

华为源 https://mirrors.huaweicloud.com/repository/npm

posted @ 2024-06-13 21:31  vello  阅读(638)  评论(0)    收藏  举报