MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration

时间:2023-01-26 09:49:15

用myeclipse 2014 整maven 项目时,pom.xml文件中报以下两个异常:

Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-
plugin:2.5:testResources (execution: default-testResources, phase: process-test-resources)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-resources-
plugin:2.5:resources (execution: default-resources, phase: process-resources)

解决方案1:

把maven的版本从3.3.1改成3.1.1

MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration


解决方案2:

点击图中的红色字体会出现面内容

MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration

MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configurationMyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configurationMyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration

MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configurationMyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration

MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration