首页 > 编程语言> > Maven经典错误之二- Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-mave
Maven经典错误之二- Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:aspectj-mave
作者:互联网
一个错误示例:
maven使用子父项目继承关系,子项目引用了父项目,子项目parent标签处报错如下:
- Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:******* (execution:
default, phase: validate) 错误。
解决方法:
给父工程pom.xml加上<pluginManagement>
即:
<plugins>
<pluginManagement>
<!--java 文档生成插件-->
<plugin>
<groupId>****</groupId>
<artifactId>****</artifactId>
<version>****</version>
</plugin>
<pluginManagement>
</plugins>
重新update maven项目之后,错误解决!
标签:configuration,错误,Plugin,子项目,covered,execution,mojo,codehaus 来源: https://blog.csdn.net/yuyecsdn/article/details/90741497