[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or one of its dependencies...

bug描述

[ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or one of its dependencies could not be resolved问题

解决方法

  • 阿里云的maven镜像仓库改为了https

      aliyunmaven
      *
      aliyun maven
      https://maven.aliyun.com/repository/public
    
  • IDEA的setting是当前项目配置,要使用全局默认配置(setting for new projects)(坑爹)
image.png

image.png
  • 在setting for project中把maven的runner中的VM options添加如下语法(忽略证书问题)
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dmaven.wagon.http.ssl.ignore.validity.dates=true

  • 保险起见导入这里也忽略加上证书
    以上是我参考一位博主的文章原文

你可能感兴趣的:([ERROR] Plugin org.apache.maven.plugins:maven-archetype-plugin:RELEASE or one of its dependencies...)