简体   繁体   English

将项目导入Eclipse后,Maven插件错误

[英]maven plugin error after importing project to eclipse

I've imported a Basho Riak Java library as an eclipse project after git cloning it, using the Existing Maven Projects import dialog option of eclipse. 我使用eclipse的“ Existing Maven Projects导入”对话框选项在git克隆后将Basho Riak Java库作为eclipse项目导入。 I have done that in order to explore this library using eclipse's Open Declaration feature, in order to better use this library. 我这样做是为了使用eclipse的Open Declaration功能来探索该库,以便更好地使用该库。

I am getting this error in the Problems pane: 我在“问题”窗格中收到此错误:

Plugin execution not covered by lifecycle configuration: org.jacoco:jacoco-maven-plugin:0.6.3.201306030806:prepare-agent (execution: jacoco-initialize, phase: initialize) 生命周期配置未涵盖插件执行:org.jacoco:jacoco-maven-plugin:0.6.3.201306030806:prepare-agent(执行:jacoco-initialize,阶段:initialize)

Can you explain in layman terms that assume little to no Maven knowledge, what does it mean, and what may be a path towards a solution for this case? 您能以通俗易懂的术语来解释,这些假设几乎没有Maven知识,这意味着什么,这可能是解决此案的途径? I have scant knowledge of maven, I typically use Scala's sbt for my Scala projects, and looking for a practical gentle in-context introduction. 我对Maven的了解很少,通常在我的Scala项目中使用Scala的sbt,并寻求实用的,上下文相关的介绍。

Thanks! 谢谢!

This is a problem linked to the Maven Eclipse plugin (m2e). 这是与Maven Eclipse插件(m2e)关联的问题。

I might be fixed, but for this we need to know the version of the plugin you are using. 我可能是固定的,但是为此,我们需要知道您使用的插件的版本。

You can find some info here for instance : https://www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html 您可以在此处找到一些信息,例如: https : //www.eclipse.org/m2e/documentation/m2e-execution-not-covered.html

You can search in google for "plugin execution not covered by lifecycle configuration m2e" for more information. 您可以在Google中搜索“生命周期配置m2e未涵盖的插件执行”以获取更多信息。

But if you don't want to bother, this error should not prevent you to use the eclipse features to navigate through the project. 但是,如果您不想打扰,则此错误不应阻止您使用eclipse功能浏览项目。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM