refer:
在Eclipse中,在pom文件中,如果加了 execution,会报错误:
Plugin execution not covered by lifecycle configuration:
org.codehaus.mojo:build-helper-maven-plugin:1.5:add-source (execution: add-source, phase: generate-sources)
问题如下:
具体解决方案是,将plugins包在 pluginManagement 中:
<pluginManagement>
<plugins>
<plugin>
</plugin>
</plugins>
</pluginManagement>
本文介绍了在Eclipse中遇到的Maven生命周期配置错误:Plugin execution not covered by lifecycle configuration,并提供了解决方案,即将相关plugins配置移动到pom.xml文件的pluginManagement部分。
1172

被折叠的 条评论
为什么被折叠?



