0

我尝试在 eclipse Indigo 上安装 - 版本:3.7.2,Maven 插件。

这里一步一步我做了什么:

帮助 => 安装新软件... => 使用 => 添加http://download.eclipse.org/technology/m2e/releases位置 => 勾选Maven integration for eclipse=> 下一步。

但它没有完成并弹出:

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)

但是当我寻找 Window => Preferences 时,Maven 不存在。

我想将eclipse更新到kepler版本。我将需求存储库添加到

Window - Preferences - Install/Update - Available Softsarve..

当我去的时候,Help - Check for Updates我看到了下一个错误:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Equinox p2 RCP Management Facilities Source 1.2.0.v20130604-2046 (org.eclipse.equinox.p2.rcp.feature.source.feature.group 1.2.0.v20130604-2046)
  Software currently installed: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide 3.7.0.I20110613-1736)
  Only one of the following can be installed at once: 
    Simple Configurator Manipulator 2.0.0.v20130327-2119 (org.eclipse.equinox.simpleconfigurator.manipulator 2.0.0.v20130327-2119)
    Simple Configurator Manipulator 2.0.0.dist (org.eclipse.equinox.simpleconfigurator.manipulator 2.0.0.dist)
  Cannot satisfy dependency:
    From: Equinox p2 Core Function 1.0.1.dist-8291FXcFLhV8CJ871602A41 (org.eclipse.equinox.p2.core.feature.feature.group 1.0.1.dist-8291FXcFLhV8CJ871602A41)
    To: org.eclipse.equinox.simpleconfigurator.manipulator [2.0.0.dist]
  Cannot satisfy dependency:
    From: Equinox p2 Core Function 1.2.0.v20130604-2046 (org.eclipse.equinox.p2.core.feature.feature.group 1.2.0.v20130604-2046)
    To: org.eclipse.equinox.simpleconfigurator.manipulator [2.0.0.v20130327-2119]
  Cannot satisfy dependency:
    From: Equinox p2 RCP Management Facilities 1.2.0.v20130604-2046 (org.eclipse.equinox.p2.rcp.feature.feature.group 1.2.0.v20130604-2046)
    To: org.eclipse.equinox.p2.core.feature.feature.group [1.2.0.v20130604-2046]
  Cannot satisfy dependency:
    From: Equinox p2 RCP Management Facilities Source 1.2.0.v20130604-2046 (org.eclipse.equinox.p2.rcp.feature.source.feature.group 1.2.0.v20130604-2046)
    To: org.eclipse.equinox.p2.rcp.feature.feature.group [1.2.0.v20130604-2046]
  Cannot satisfy dependency:
    From: Equinox p2 Provisioning for IDEs. 2.1.2.dist-6-Bk8lt6MLqLsEf6-RFpFIpRdhQG (org.eclipse.equinox.p2.user.ui.feature.group 2.1.2.dist-6-Bk8lt6MLqLsEf6-RFpFIpRdhQG)
    To: org.eclipse.equinox.p2.core.feature.feature.group [1.0.1.dist-8291FXcFLhV8CJ871602A41]
  Cannot satisfy dependency:
    From: Eclipse Platform 3.7.0.I20110613-1736 (org.eclipse.platform.ide 3.7.0.I20110613-1736)
    To: org.eclipse.equinox.p2.user.ui.feature.group [2.1.2.dist-6-Bk8lt6MLqLsEf6-RFpFIpRdhQG]

如何解决这个问题并安装 Maven 插件?

4

1 回答 1

0

尝试在安装管理器中设置“联系所有更新站点...”选项,并确保选中了 Indigo 的下载站点 ( http://download.eclipse.org/releases/indigo )。

无论如何,这应该是包含您的 m2e 安装的更新站点,因为您使用的下载站点包含最新的 maven 构建,而不是 3.7.2 。

如果您想使用更新的 Eclipse,请使用带有更新站点http://download.eclipse.org/releases/kepler的 KEpler 。

如果这不起作用,请发布新错误。

于 2013-09-06T06:26:33.477 回答