Maven-pom.xml文件报错 Plugin execution not covered by lifecycle configuration
2018-03-14 16:21
495 查看
问题:
Eclipse中新导入的项目pom.xml文件报错:Plugin execution not covered by lifecycle configuration: org.jacoco:jacoco-maven-plugin:0.6.4.201312101107:prepare-agent (execution: pre-test, phase: process-classes
解决:
步骤一:在eclipse中打开 Preferences --> Maven --> Lifecycle Mappings添加 ifecycle-mapping-metadata.xml
<?xml version="1.0" encoding="UTF-8"?> <lifecycleMappingMetadata> <pluginExecutions> <pluginExecution> <pluginExecutionFilter> <groupId>org.jacoco</groupId> <artifactId>jacoco-maven-plugin</artifactId> <goals> <goal>prepare-agent</goal> </goals> <versionRange>[0.5,)</versionRange> </pluginExecutionFilter> <action> <ignore /> </action> </pluginExecution> </pluginExecutions> </lifecycleMappingMetadata>
然后点击
步骤二:
Maven---> update Project
参考:
【1】csdn博客,http://blog.csdn.net/zbuger/article/details/51489422
相关文章推荐
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 解决 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- Maven pom.xml “Plugin execution not covered by lifecycle configuration”
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- Maven项目POM文件错误,提示“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- eclipse使用maven在pom配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- 在POM配置Maven plugin提示错误“Plugin execution not covered by lifecycle configuration”的解决方案
- Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:xml-maven-plugin:1.0:tran
- Plugin execution not covered by lifecycle configuration” for Spring Data Maven Builds
- eclipse提示Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-com