我刚刚试着用我的gwt2.4应用程序从helios迁移到maven。所以我开始遵循下面的步骤:http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven
但是在步骤3-安装特性"m2e连接器for build-helper-maven-plugin“时,我从Eclipse得到一个错误:
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]有没有解决这个问题的办法,或者我做错了什么?
发布于 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
要使其正常工作,请执行以下操作:
在选项中,为版本0.14.0中的build-helper-maven-plugin选择m2e连接器。
发布于 2011-12-16 21:15:02
找到了解决方案。您可以通过eclipse控制台安装正确的版本,而不会出现依赖故障。
通过概述视图打开相关的eclipse
发布于 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就可以进行它想做的更新了。
https://stackoverflow.com/questions/8212846
复制相似问题