新建maven项目报错Could not calculate build plan: Plugin org.apache.maven.plugins:

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了新建maven项目报错Could not calculate build plan: Plugin org.apache.maven.plugins:相关的知识,希望对你有一定的参考价值。

补充错误:
Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6
Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-resources-plugin:jar:2.6

maven的artifict属性拼写错误 或者是maven插件的版本不兼容 换一个版本试试追问

谢了,已经解决了,配置代理就好了

参考技术A 代理怎么配置的亲,能告知下吗

mavenMaven插件篇 --- maven项目 mvn install 报错: Failed to execute goal on project 项目名: Could not resol(代

参考:Maven实用技巧

https://msd.misuland.com/pd/3255817963235707346

 

 

报错:

maven项目 mvn install 报错: 

[ERROR] Failed to execute goal on project 项目名XXX: Could not resolve dependencies for project com.项目名XXX:war:1.0.0-SNAPSHOT: Failure to find 项目名1XXX:jar:0.1.0-SNAPSHOT in 远程Maven仓库地址 was cached in the local repository, resolution will not be reattempted until the update interval of releases has elapsed or updates are forced -> [Help 1]

 

 

 

解决方式:

 可以执行 ,即指定之前模块继续编译

mvn -rf  项目模块名

执行后可以看到  详细的  警告 以及Error的原因,

 

以上是关于新建maven项目报错Could not calculate build plan: Plugin org.apache.maven.plugins:的主要内容,如果未能解决你的问题,请参考以下文章

Eclipse maven创建web项目报错Could not resolve archetype

mavenMaven插件篇 --- maven项目 mvn install 报错: Failed to execute goal on project 项目名: Could not resol(代

Spring Boot# Could not transfer artifact..maven导包问题查看和修改内置Tomcat版本自定义启动Banner

Maven报错: Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp

Maven项目出现 could not calculate build plan:plugin 错误

Could not calculate build plan: Plugin org.apache.maven.plugins:maven-war-plugin:2.2