2012-07-29 32 views
19

我已经通过帮助 - >检查更新菜单将我的eclipse indigo更新为juno。 我注意到我有更新为egit(2.x)和jgit(2.x)与我当前的安装(1.3.x)发生冲突,所以我删除了所有的egit插件(eigt,jgit,egit-mylyn和Maven SCM EGit的处理程序)。然后我尝试安装上面的egit插件,并且能够安装egit和jgit,但无法为EGit安装Maven SCM Handler。
我试图更新grvia的M2E市场,得到了以下错误:无法为Junit安装Maven SCM Handler

Cannot complete the install because of a conflicting dependency.
Software being installed: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201110251725)
Software currently installed: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
Only one of the following can be installed at once:
Git Team Provider Core 2.0.0.201206130900-r (org.eclipse.egit.core 2.0.0.201206130900-r)
Git Team Provider Core (Incubation) 0.8.4 (org.eclipse.egit.core 0.8.4)
Git Team Provider Core 1.1.0.201109151100-r (org.eclipse.egit.core 1.1.0.201109151100-r)
Git Team Provider Core 1.3.0.201202151440-r (org.eclipse.egit.core 1.3.0.201202151440-r)
Git Team Provider Core (Incubation) 0.11.1 (org.eclipse.egit.core 0.11.1)
Git Team Provider Core (Incubation) 0.9.1 (org.eclipse.egit.core 0.9.1)
Git Team Provider Core 1.0.0.201106090707-r (org.eclipse.egit.core 1.0.0.201106090707-r)
Cannot satisfy dependency:
From: Eclipse EGit 2.0.0.201206130900-r (org.eclipse.egit.feature.group 2.0.0.201206130900-r)
To: org.eclipse.egit.core [2.0.0.201206130900-r]
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit 0.14.0.201110251725)
To: bundle org.eclipse.egit.core [1.0.0,2.0.0)
Cannot satisfy dependency:
From: Maven SCM Handler for EGit 0.14.0.201110251725 (org.sonatype.m2e.egit.feature.feature.group 0.14.0.201110251725)
To: org.sonatype.m2e.egit [0.14.0.201110251725]

我从错误猜测,这是在市场上的神器还没有跟上时代的,所以我尝试下载来自nexus repository的最新m2e-git,但我真的不知道该如何处理它。
我把内容放在plugins文件夹的一个子目录中,没有看到它出现在“What is installed”对话框中,所以我假设它不起作用。
有没有人设法让这个工作?

回答

45

是的,自从Juno发布以来,这一直是其他m2e连接器的问题。我已经发布了我用于get around this issue here的步骤。

下面是说明:

  1. 点击帮助
  2. 点击安装新软件
  3. 取消选中该复选框标记按类别集团项目(这一步是很重要的还是你赢了没有看到表中的连接器)
  4. 粘贴到此URL http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
  5. 完成插件安装向导并重新启动工作区
+13

已有更新。目前,最新版本的连接器位于http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/,我需要安装它以使其正常工作。今后,请查看http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/(或者http://repository.tesla.io: 8081/nexus/content/sites/m2e.extras/m2eclipse-egit /)进一步更新。 – 2013-05-29 06:11:52

+7

这适用于Eclipse Kepler以及! – user1429007 2013-07-12 23:02:41

+0

谢谢。让我的开普勒工作。链接由Michael Scheper提供给我工作 – Jay 2013-08-21 12:50:23

12

这将适用于Eclipse 4.3的工作(开普勒):http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/

记住要取消按类别标记组项目盒子

+1

Eclipse试图吓跑我说它会卸载Egit(我的:3.1.0),但事后证明它意味着降级(我的:到3.0.3)。 – 2013-10-29 09:05:03

+0

这很有趣,因为这个URL在Eclipse Kepler R,Kepler SR1甚至Luna M2上都能正常工作,没有那种可怕的警告。 – dnang 2013-11-11 03:12:11

+0

@PiotrFindeisen看起来,最新的每晚只支持egit高达3.0.x,我有oposite问题,不能升级到egit 3.1,因为m2e连接器:( – mglauche 2013-11-26 11:46:42

2

我从git获取代码,并创建了一个与keppler + m2eclipse 0.14 + egit 3.x一起使用的构建。

使用此更新网址:https://github.com/micw/m2eclipse-egit-builds/raw/master/0.14.0.201401300919/

不要忘了取消“按类别集团项目”,否则将无法看到在Eclipse的软件经理包。

更新2014-01-30:我构建了最新的git版本,允许与任何EGit 3.x版本一起使用。请在这篇文章中使用新的更新网址。我证实它可以与最新的EGit 3.2.x配合使用

+0

感谢您的努力,但是这对Eclipse 3.8并不适用。使用Michael Scheper评论中更新的URL的jonathan.cone解决方案确实有效。 – 2016-03-03 23:37:45

0

我能够通过以下配置获得它。

  • Eclipse的月神SR1的Eclipse
  • 例如:It团队提供3.7.0(我已经更新通过Eclipse市场的 插件)
  • M2E例如:It 0.14(通过Eclipse 市场安装)。

起初,我也发现了错误,而安装M2E,例如:It但一旦我更新了例如:It插件的Eclipe,安装M2E,例如:It的工作perfectly.Hope它帮助。