如何在Eclipse中安装M2E-Maven集成?(How can I install the M2E - Maven Integration in Eclipse?)

我试图通过Eclipse中的存储库安装来安装插件(帮助 - >安装新软件 - >使用: http : //download.eclipse.org/technology/m2e/releases/ - > Next)错误:

Cannot complete the install because one or more required items could not be found. Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002) Missing requirement: Maven Integration for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032) requires 'bundle org.eclipse.core.resources 3.9.0' but it could not be found Missing requirement: Maven Integration for Eclipse 1.6.1.20150625-2338 (org.eclipse.m2e.core 1.6.1.20150625-2338) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found Missing requirement: Maven Integration for Eclipse 1.6.2.20150902-0002 (org.eclipse.m2e.core 1.6.2.20150902-0002) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found Cannot satisfy dependency: From: m2e Marketplace 1.6.2.20150902-0002 (org.eclipse.m2e.discovery 1.6.2.20150902-0002) To: bundle org.eclipse.m2e.core [1.6.0,1.7.0) Cannot satisfy dependency: From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002) To: org.eclipse.m2e.discovery [1.6.2.20150902-0002]

我尝试在guava包上找到信息,但是我无法在Eclipse市场中搜索这些信息,或者找到我可以安装的任何repo。

我正在使用Eclipse Juno SR2。 我已经读过某些版本的Eclipse无法安装guava包但是没有读到Juno就是其中之一。

I am attempting to install the plugin via the repository install in Eclipse ( Help -> Install New Software -> Work With: http://download.eclipse.org/technology/m2e/releases/ -> Next) and am getting a big error:

Cannot complete the install because one or more required items could not be found. Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002) Missing requirement: Maven Integration for Eclipse 1.6.0.20150526-2032 (org.eclipse.m2e.core 1.6.0.20150526-2032) requires 'bundle org.eclipse.core.resources 3.9.0' but it could not be found Missing requirement: Maven Integration for Eclipse 1.6.1.20150625-2338 (org.eclipse.m2e.core 1.6.1.20150625-2338) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found Missing requirement: Maven Integration for Eclipse 1.6.2.20150902-0002 (org.eclipse.m2e.core 1.6.2.20150902-0002) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found Cannot satisfy dependency: From: m2e Marketplace 1.6.2.20150902-0002 (org.eclipse.m2e.discovery 1.6.2.20150902-0002) To: bundle org.eclipse.m2e.core [1.6.0,1.7.0) Cannot satisfy dependency: From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.6.2.20150902-0002 (org.eclipse.m2e.feature.feature.group 1.6.2.20150902-0002) To: org.eclipse.m2e.discovery [1.6.2.20150902-0002]

I tried finding information on the guava bundle but am not able to search for this in the Eclipse marketplace or find any repo out there I can install from either.

I am using Eclipse Juno SR2. I've read that certain version of Eclipse can't install guava bundle but didn't read that Juno was one of them.

最满意答案

Juno仅支持1.3版本。 所以从这里下载它。

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

在此处输入图像描述

Juno only supports 1.3 version. So download it from here.

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

enter image description here

更多推荐