无法在Ubuntu 12.04上为eclipse安装maven插件

时间:2013-09-04 09:00:33

标签: eclipse maven ubuntu

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

我一步一步地做了什么:

帮助=>安装新软件... =>使用=>添加http://download.eclipse.org/technology/m2e/releases location =>勾选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 =>偏好,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插件?

1 个答案:

答案 0 :(得分:0)

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

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

如果您想使用较新的Eclipse,请将KEpler与updatesite http://download.eclipse.org/releases/kepler一起使用。

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