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

时间:2023-01-25 14:29:03

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不是我的选择。

3 个解决方案

#1


56  

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

#2


3  

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

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

#3


0  

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月 - 04年我试图为基于Eclipse 3.6(即Helios Platform)构建的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.

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

#1


56  

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

#2


3  

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

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

#3


0  

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月 - 04年我试图为基于Eclipse 3.6(即Helios Platform)构建的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.

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