Mavenbug

https://zhuanlan.zhihu.com/p/468287984
重点是https://repo1.maven.org/maven2/要用https
从2020年1月15日开始,中央存储库不再支持通过纯HTTP进行的不安全通信,并且要求对存储库的所有请求都通过HTTPS进行加密。

如果收到此错误,则需要用其 规范的HTTPS对应项替换所有对Maven Central的URL引用:

将http://repo.maven.apache.org/maven2/替换 为 https://repo.maven.apache.org/maven2/

如果您的环境由于某种原因无法支持HTTPS,则可以选择使用我们专用的不安全端点 ,网址为 http://insecure.repo1.maven.org/maven2/


central
Maven Repository Switchboard
https://repo1.maven.org/maven2/
central


repo2
central
Human Readable Name for this Mirror.
http://repo2.maven.org/maven2/


ibiblio
central
Human Readable Name for this Mirror.
http://mirrors.ibiblio.org/pub/mirrors/maven2/


jboss-public-repository-group
central
JBoss Public Repository Group
http://repository.jboss.org/nexus/content/groups/public


google-maven-central
Google Maven Central
https://maven-central.storage.googleapis.com

central



maven.net.cn
oneof the central mirrors in china
http://maven.net.cn/content/groups/public/
central

posted @ 2022-04-12 18:49  没有任何出路  阅读(70)  评论(0)    收藏  举报