按以下步骤操作:(RAD 8.0.4)
- 进入帮助-安装新软件
- 在安装向导的Available Software页面中,单击Work with字段旁边的Add按钮,并添加这个新位置:@download.jboss.org/jbosstools/updates/m2eclipse-wtp/
- 单击可用软件站点链接并确认仅选中了以下站点的复选框。然后单击"确定"。
- m2eclipse-wtp updates http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/
- Eclipse项目测试站点@download.eclipse.org/eclipse/updates/3.6
- Eclipse Web Tools Platform (WTP)软件存储库
@download.eclipse.org/webtools/repository/helios
- 在可用软件页面的Work With字段中,选择:m2eclipse-wtp updates。
-
在"名称"栏下,选中以下复选框:
- m2e连接器用于mavenarchiver pom属性
- Maven集成WTP.
发生以下错误。
Cannot complete the install because one or more required items could not be found.
Software being installed: m2e connector for mavenarchiver pom properties 0.15.0.201212080009 (org.sonatype.m2e.mavenarchiver.feature.feature.group 0.15.0.201212080009)
Missing requirement: Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.core 1.4.0.20130601-0317) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
Missing requirement: Maven Integration for Eclipse 1.4.1.20140328-1905 (org.eclipse.m2e.core 1.4.1.20140328-1905) requires 'bundle org.slf4j.api 1.6.2' but it could not be found
Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle org.eclipse.core.runtime 3.7.0' but it could not be found
Cannot satisfy dependency:
From: Maven Integration for Eclipse JDT 1.4.0.20130601-0317 (org.eclipse.m2e.jdt 1.4.0.20130601-0317)
To: bundle org.eclipse.m2e.core [1.4.0,1.5.0)
Cannot satisfy dependency:
From: Maven Integration for Eclipse JDT 1.4.1.20140328-1905 (org.eclipse.m2e.jdt 1.4.1.20140328-1905)
To: bundle org.eclipse.m2e.core [1.4.0,1.5.0)
Cannot satisfy dependency:
From: Maven Integration for Eclipse JDT 1.5.0.20140606-0033 (org.eclipse.m2e.jdt 1.5.0.20140606-0033)
To: bundle org.eclipse.m2e.core [1.5.0,1.6.0)
Cannot satisfy dependency:
From: m2e connector for the mavenarchiver and pom properties 0.15.0.201212080009 (org.sonatype.m2e.mavenarchiver 0.15.0.201212080009)
To: bundle org.eclipse.m2e.jdt [1.0.0,2.0.0)
Cannot satisfy dependency:
From: m2e connector for mavenarchiver pom properties 0.15.0.201212080009 (org.sonatype.m2e.mavenarchiver.feature.feature.group 0.15.0.201212080009)
To: org.sonatype.m2e.mavenarchiver [0.15.0.201212080009]
我有一个类似的问题,并设法安装m2e使用靛蓝更新网站:http://download.eclipse.org/releases/indigo/
- 进入帮助-安装新软件
- 添加…选择一个带有上述URL的名称作为Location。 一旦列表加载,在"General Purpose Tools"下,选中"m2e - Maven Integration for Eclipse "。
- 继续安装&重启。
FOR INDIGO:
1)安装m2e v1.3使用url: http://download.eclipse.org/technology/m2e/releases/1.3
(选择最新的1.3版本)
2)然后安装到m2e v 1.4使用:http://download.eclipse.org/technology/m2e/releases
(选择最新的1.4版本)