Maven异常:Plugin execution not covered by lifecycle configuration

     异常信息如下:

     

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_第1张图片
 
Maven异常:Plugin execution not covered by lifecycle configuration_第2张图片
 解决办法:
Maven异常:Plugin execution not covered by lifecycle configuration_第3张图片
 
Maven异常:Plugin execution not covered by lifecycle configuration_第4张图片
 
Maven异常:Plugin execution not covered by lifecycle configuration_第5张图片
 
Maven异常:Plugin execution not covered by lifecycle configuration_第6张图片
 点击back后退,先安装ajdt插件,如图:
Maven异常:Plugin execution not covered by lifecycle configuration_第7张图片
 
Maven异常:Plugin execution not covered by lifecycle configuration_第8张图片
 然后eclipse会重启,继续安装aspectj-maven-plugin插件,这次没有提示错误,可以安装了,如图:
Maven异常:Plugin execution not covered by lifecycle configuration_第9张图片
 
Maven异常:Plugin execution not covered by lifecycle configuration_第10张图片
 过程中会弹出两个确认框,如图操作:
Maven异常:Plugin execution not covered by lifecycle configuration_第11张图片
 
Maven异常:Plugin execution not covered by lifecycle configuration_第12张图片
 eclipse重启后,在你的Maven Project上鼠标右键,如图:
Maven异常:Plugin execution not covered by lifecycle configuration_第13张图片
 
Maven异常:Plugin execution not covered by lifecycle configuration_第14张图片
 OK,问题解决!

 

 

    
    

你可能感兴趣的:(maven,plugin)