使用阿里云Maven仓库下载依然失败?

1.首页

<mirror>
          <id>aliyunmaven</id>
          <mirrorOf>*</mirrorOf>
          <name>阿里云公共仓库</name>
          <url>https://maven.aliyun.com/repository/public</url>
      </mirror>

注意现在是是https也正因为是https我最近下载才出现了问题解决方法如下:
在这里插入图片描述
在这里插入图片描述
复制下面的

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true

猜你喜欢

转载自blog.csdn.net/qq_35953966/article/details/107285997