首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >无法安装eclipse插件"m2e连接器for build-helper-maven-plugin 0.15.0.201109290002“

无法安装eclipse插件"m2e连接器for build-helper-maven-plugin 0.15.0.201109290002“
EN

Stack Overflow用户
提问于 2011-11-21 21:48:57
回答 7查看 32.8K关注 0票数 20

我刚刚试着用我的gwt2.4应用程序从helios迁移到maven。所以我开始遵循下面的步骤:http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven

但是在步骤3-安装特性"m2e连接器for build-helper-maven-plugin“时,我从Eclipse得到一个错误:

代码语言:javascript
复制
Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e connector for build-helper-maven-plugin     0.15.0.201109290002 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109290002)
  Missing requirement: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper 0.15.0.201109290002) requires 'bundle org.eclipse.m2e.jdt [1.1.0,1.2.0)' but it could not be found
  Cannot satisfy dependency:
    From: m2e connector for build-helper-maven-plugin 0.15.0.201109290002 (org.sonatype.m2e.buildhelper.feature.feature.group 0.15.0.201109290002)
    To: org.sonatype.m2e.buildhelper [0.15.0.201109290002]

有没有解决这个问题的办法,或者我做错了什么?

EN

回答 7

Stack Overflow用户

回答已采纳

发布于 2011-11-25 00:59:13

问题不在于GWT Eclipse插件,而在于m2e,它当前是1.0.x版本,而不是build-helper连接器版本0.15所要求的1.1.0或更高版本。我建议稍后安装build-helper连接器,并尝试安装0.14版本(在我的机器上可以工作)。使用此存储库:https://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.14.0/N/0.14.0.201109282148/

如果您需要更新站点(例如,因为您正在使用RAD,并且只能使用更新站点),则有一个修改后的0.15.0更新站点定义:m2eclipse with 0.14.0 connector

要使其正常工作,请执行以下操作:

  • 转至Help\Install new software\
  • Click on Add
  • 单击本地
  • 将解压缩的文件夹添加为location

在选项中,为版本0.14.0中的build-helper-maven-plugin选择m2e连接器。

票数 21
EN

Stack Overflow用户

发布于 2011-12-16 21:15:02

找到了解决方案。您可以通过eclipse控制台安装正确的版本,而不会出现依赖故障。

通过概述视图打开相关的eclipse

  • Voila,,您应该会在顶部看到红色的错误消息,上面写着"Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:buid..(单击查看详细信息)“

  • 右键单击并选择”discover m2e
  1. marketplace“将会显示,并显示正确和必需的m2e connector.
  2. select m2e select,然后单击finish。
  3. 按照说明进行安装,并在下次生成后重新启动m2e,这些maven错误应该不会再发生。
票数 12
EN

Stack Overflow用户

发布于 2017-10-19 21:57:35

我也遇到过类似的问题,STS (3.9.1.Release)说我有一个更新:“build-helper-maven-plugin的m2e连接器”,但它永远不会完成,并一直困扰着我。

我添加了以下SonaType存储库:https://repository.sonatype.org/content/repositories/forge-sites/m2e-marketplace-p2-repo/

这样,STS就可以进行它想做的更新了。

票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/8212846

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档