Maven异常:Plugin execution not covered by lifecycle configuration

   异常信息如下:

     

Xml代码  Maven异常:Plugin execution not covered by lifecycle configuration
  1. Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-maven-plugin:1.3.1:compile (execution: default, phase: compile)   

    Eclipse中提示如图:
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
 点击back后退,先安装ajdt插件,如图:
Maven异常:Plugin execution not covered by lifecycle configuration
 
Maven异常:Plugin execution not covered by lifecycle configuration
 然后eclipse会重启,继续安装aspectj-maven-plugin插件,这次没有提示错误,可以安装了,如图:
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 Project上鼠标右键,如图:
Maven异常:Plugin execution not covered by lifecycle configuration
 
Maven异常:Plugin execution not covered by lifecycle configuration
 OK,问题解决!

 

转载:http://iamyida.iteye.com/blog/2216352

上一篇:highlight.js代码高亮显示插件


下一篇:Varnish的性能调优