mac在用osgi开发时报Multiple annotations found at this line: - Plugin execution not covered by lifecycle c


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级别也不失为一种方法,前提是不影响你本地的环境。大家谨慎借鉴。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值