我可以从命令行构建项目,但是当我将它导入Eclipse时,我在pom.xml中遇到以下错误:
Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-resources-plugin:2.6:testResources
(execution: default-testResources, phase: process-test-resources)
- Plugin execution not covered by lifecycle configuration:
org.apache.maven.plugins:maven-resources-plugin:2.6:resources
(execution: default-resources, phase: process-resources)
Eclipse Maven Integration插件使用Maven版本3.2.1
,我的系统也使用相同的版本。
这个错误的原因是什么?怎么解决?
这应该可以解决您的错误