eclipse - 无法为 Juno 的 EGit 安装 Maven SCM 处理程序

标签 eclipse egit m2e eclipse-juno

我已通过“帮助”->“检查更新”菜单将 eclipse indigo 更新为 juno。 我注意到我有 egit (2.x) 和 jgit (2.x) 的更新,它们与我当前的安装 (1.3.x) 发生冲突,因此我删除了所有 egit 插件(eigt、jgit、egit-mylyn 和 Maven SCM Handler)对于 Egit)。然后,我尝试安装上述 egit 插件,并且能够安装 egit 和 jgit,但无法安装 EGit 的 Maven SCM Handler。
我尝试通过 m2e 市场更新 gr,但出现以下错误:

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但我真的不知道该怎么办。
我将内容放在插件文件夹的子目录中,但没有看到它出现在“安装的内容”对话框中,所以我假设它不起作用。
有人设法让它发挥作用吗?

最佳答案

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

以下是说明:

  1. 点击帮助
  2. 点击安装新软件
  3. 取消选中标记为按类别对项目进行分组的框(此步骤很重要,否则您将不会在表格中看到连接器)
  4. 粘贴此网址 http://repository.tesla.io:8081/nexus/content/sites/m2e.extras/m2eclipse-egit/0.14.0/N/0.14.0.201305250025/
  5. 完成插件安装向导并重新启动工作区

关于eclipse - 无法为 Juno 的 EGit 安装 Maven SCM 处理程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11707971/

相关文章:

eclipse - 为什么EGit有不同类型的 "Team"菜单?

Eclipse + maven 即使存在 POM 也无法打开

eclipse - 如何映射 Eclipse m2e 插件未涵盖的 Maven 生命周期阶段?

java - 检测并更改编码

java - 在 Eclipse STS 中启用 *.properties 的内容辅助

git - 构建包含多个 git 存储库的 eclipse 项目

java - 为什么 Maven 项目默认绑定(bind)到 J2SE-1.5?

java - Eclipse 中的西里尔符号

java - JMockIt 失败,出现 AgentInitializationException : Agent JAR loaded but agent failed to initialize

java - 从 eclipse 重命名后,项目名称在远程存储库上没有更改