如何在 Eclipse Helios 中安装 Maven 集成插件?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/18982793/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:54:08  来源:igfitidea点击:

How to install Maven integration plugin in Eclipse Helios?

eclipsemavenm2eclipsem2e

提问by uncle Lem

I'm trying to install Maven integration plugin in Eclipse Helios via Marketplace, but I'm receiveing "cannot satisfy dependency" error:

我正在尝试通过 Marketplace 在 Eclipse Helios 中安装 Maven 集成插件,但我收到“无法满足依赖项”错误:

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)
  Missing requirement: async-http-client 1.6.5.20130531-2315 (com.ning.async-http-client 1.6.5.20130531-2315) requires 'package org.slf4j 1.6.2' but it could not be found
  Cannot satisfy dependency:
    From: Maven Archetype Common Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.archetype.common 1.4.0.20130531-2315)
    To: bundle org.eclipse.m2e.maven.runtime [1.4.0,1.5.0)
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
    To: org.eclipse.m2e.archetype.common [1.4.0.20130531-2315]
  Cannot satisfy dependency:
    From: Embedded Maven Runtime Bundle 1.4.0.20130531-2315 (org.eclipse.m2e.maven.runtime 1.4.0.20130531-2315)
    To: bundle com.ning.async-http-client [1.6.5,1.6.6)

Do you have any ideas how it could be done? Unfortunately, upgrading Eclipse is not an option in my case.

你有什么想法可以做到吗?不幸的是,在我的情况下,升级 Eclipse 不是一个选项。

回答by Shiv Mohan

I believe you must be trying the following URL in the update site:

我相信您一定在更新站点中尝试使用以下 URL:

http://download.eclipse.org/technology/m2e/releases

http://download.eclipse.org/technology/m2e/releases

Try using:

尝试使用:

http://download.eclipse.org/technology/m2e/releases/1.3

http://download.eclipse.org/technology/m2e/releases/1.3

回答by Lokesh

In your install manager, check "Contact all updates sites" . This should resolve the problem as sometimes dependencies come form different sites.

在您的安装管理器中,选中“联系所有更新站点”。这应该可以解决问题,因为有时依赖项来自不同的站点。

回答by Kavs

Dated : 2015-June-04 I was trying to do the same for IBM RAD 8.5.0 which is built on Eclipse 3.6 i.e Helios Platform. I tried using the below link and it works fine. http://download.eclipse.org/technology/m2e/releases/1.4

日期:2015 年 6 月 4 日,我尝试对基于 Eclipse 3.6(即 Helios 平台)构建的 IBM RAD 8.5.0 执行相同操作。我尝试使用下面的链接,它工作正常。 http://download.eclipse.org/technology/m2e/releases/1.4

Also uncheck the "Show only the latest versions of available software" this gives you all the versions that are compatable with your current version.

同时取消选中“仅显示可用软件的最新版本”,这将为您提供与当前版本兼容的所有版本。