不能在Ubuntu 12.04上安装eclipse的maven插件 [英] Can't install maven plugin for eclipse on Ubuntu 12.04

查看:178
本文介绍了不能在Ubuntu 12.04上安装eclipse的maven插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I tried install at eclipse Indigo - Version: 3.7.2, Maven plugin.

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

Here step by step what I did:

帮助=>安装新软件... =>使用=>添加 http://download.eclipse.org/technology/m2e/releases location => Tick eclipse的Maven集成 => next。

Help => Install new software... => Work with => add http://download.eclipse.org/technology/m2e/releases location => Tick Maven integration for eclipse => next.

但是没有完成并弹出:

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不存在。

But when I looking for at Window => Preferences, Maven doesn't exist.

我想将eclipse更新为 kepler 版本。我添加了需要的资料库到

I want to update eclipse to kepler version. I added needs repository to

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

当我去帮助 - 检查更新我看到下一个错误: p>

And when I went to Help - Check for Updates I saw next error:

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插件?

How to solve this and install Maven plugin?

推荐答案

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

Try setting the option "Contact all updates sites..." in the Installation Manger and make sure that the download site for Indigo (http://download.eclipse.org/releases/indigo) is checked.

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

This should be the updatesite containing your m2e Installation anyway, since the downloadsite you used contains the LATEST maven built, which is not 3.7.2 .

如果要使用较新的Eclipse,请使用KEpler和更新版的 http: //download.eclipse.org/releases/kepler

If you want to use a newer Eclipse, use KEpler with the updatesite http://download.eclipse.org/releases/kepler.

如果不行,请发布新的错误。

If that doesn't work, please post the new error.

这篇关于不能在Ubuntu 12.04上安装eclipse的maven插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆