Multiple annotations found at this line:
- Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:findbugs-maven-plugin:3.0.3:check (execution: analyze-compile, phase:
compile)
- Plugin execution not covered by lifecycle configuration: org.apache.maven.plugins:maven-checkstyle-plugin:2.16:check (execution: validate, phase:
validate)
- maven-remote-resources-plugin (goal "process") is ignored by m2e.
在本地已经全部编译好的maven环境在eclipse中全线子工程飘红,工程也可以正常编译,在网上搜了一些解决方法大多需要
在lifecycle-mapping-metadata.xml加配置,由于各个工程太多,觉得头大。但又不愿意看到工作空间全线飘红。
解决步骤如下:
1.我的想法很简单,既然不影响使用,我直接无视这个错不就行了?
将Error级别改成Warning级别不就可以了吗?
Eclipse 一> Preferences 一> Maven 一> Errors/warnings
将Error级别改成warnings级别也不失为一种方法,前提是不影响你本地的环境。大家谨慎借鉴。