本文主要是介绍myEclipseeclipse创建maven项目pom.xml报错Plugin execution not covered by lifecycle configuration异常,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Plugin execution not covered by lifecycle configuration异常
网上找了解决方法 这里记录一下
第一种:
<plugins>标签外面加上<pluginManagement>标签
第二种:
<plugins>里面加上如下代码
<plugin><groupId>org.eclipse.m2e</groupId><artifactId>lifecycle-mapping</artifactId><version>1.0.0</version><configuration><lifecycleMappingMetadata><pluginExecutions><pluginExecution><pluginExecutionFilter><groupId>org.apache.maven.plugins</groupId><artifactId>maven-resources-plugin</artifactId><versionRange>[2.0,)</versionRange><goals><goal>resources</goal><goal>testResources</goal></goals></pluginExecutionFilter><action><ignore/></action></pluginExecution></pluginExecutions></lifecycleMappingMetadata></configuration></plugin>
我试了第一种方法还是有报错又加了第二种方法里面的代码 报错解决
这篇关于myEclipseeclipse创建maven项目pom.xml报错Plugin execution not covered by lifecycle configuration异常的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!