发现每次只要pom中需要使用到spring-boot-maven-plugin这个插件就会有几率报错Could not find artifact org.apache.maven.plugins,原因是没有允许使用SSl证书拉取
1、设置导入允许使用SSL
打开设置 - > 构建、执行、部署(Build,Execution,Deployment) - > 构建工具(Build Tools) - > Maven - > 导入(Importing)
在导入的VM选项(VM options for importer)中输入:-Dmaven.wagon.http.ssl.insecure=true
2、设置正在运行时允许使用SSL
打开设置 - > 构建、执行、部署(Build,Execution,Deployment) - > 构建工具(Build Tools) - > Maven
-> 运行的程序(Runner)
在VM选项(VM options)中输入:-Dmaven.wagon.http.ssl.allowall=true