maven pom.xml文件报错 +Plugin execution not covered by lifecycle configuration:
来源:互联网 发布:王菲演唱会知乎 编辑:程序博客网 时间:2024/05/22 14:06
报错信息:
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)
解决方法:
在pom.xml中添加
<build> <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> </plugins> </pluginManagement></build>
阅读全文
0 0
- maven pom.xml文件报错 +Plugin execution not covered by lifecycle configuration:
- MyEclipse2014创建Maven项目pom.xml文件报Plugin execution not covered by lifecycle configuration
- Maven pom.xml “Plugin execution not covered by lifecycle configuration”
- SVN检出项目转maven后,pom.xml文件报错:Plugin execution not covered by lifecycle configuration
- 解决Maven中pom.xml报plugin execution not covered by lifecycle configuration
- pom.xml报错Plugin execution not covered by lifecycle configuration
- pom.xml文件报错:Plugin execution not covered by lifecycle..
- 解决Maven报Plugin execution not covered by lifecycle configuration
- Maven报Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- 解决Maven报Plugin execution not covered by lifecycle configuration
- 解决Maven报错"Plugin execution not covered by lifecycle configuration"
- Eclipse Maven报错:Plugin execution not covered by lifecycle configuration
- MyEclipse Maven项目报错Plugin execution not covered by lifecycle configuration
- Python enumerate() 函数
- 新西兰监管机构:加密货币属于证券
- 斯威士兰央行:禁止加密货币是“不明智的”
- 美国证券交易委员会:名人为ICO背书或涉嫌违法
- windows10安装MongoDB
- maven pom.xml文件报错 +Plugin execution not covered by lifecycle configuration:
- HDU
- 深入理解STM32之储存器和总线架构1(基于STM32F411)
- myeclipse 10.x破解之后,打war包报错退出问题解决
- 关于ffmpeg推送的一个解决方案
- 汇编语言王爽第二版-课后答案以及解析
- springMVC(二)
- SSM POI根据预定好的模版导出execle
- Linux系统的目录介绍