解决方法:https://www.zhihu.com/question/350864269/answer/2808340772
第一步:首先在Maven的setting.xml里设置新版HTTPS的阿里云仓库
<mirror>
<id>aliyunmaven</id>
<mirrorOf>*</mirrorOf>
<name>阿里云公共仓库</name>
<url>https://maven.aliyun.com/repository/public</url>
</mirror>
第二步:然后在IDEA中设置忽略HTTPS的SSL证书验证
#在 File -> Settings -> Build, Execution, Deployment -> Build Tools -> Maven > Importing -> VM options for importer 添加:
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
或者
#在 File -> Settings -> Build, Execution, Deployment -> Build Tools -> Maven > Runner -> VM options 添加:
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true
标签:wagon,http,maven,ssl,阿里,Build,Dmaven,镜像,true
From: https://www.cnblogs.com/Jimc/p/17681574.html