2020 年最新:Maven无法使用阿里云仓库下载


·1、在maven的conf目录下setting.xml 文件改为:

 
        alimaven
        central
        aliyun maven
        https://maven.aliyun.com/repository/public
  

2、如图,需要改为https,需要在idea的setting中配置如下的参数:

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true