---
title: "Eclipse下安装maven插件"
author: "chigooo"
date: "2011-07-27T16:04:36Z"
tags: []
categories: ["开源软件"]
slug: "eclipse-maven"
draft: false
lastmod: "2011-07-27T16:04:36Z"
id: 1134121
url: "https://chigooo.iteye.com/blog/1134121"
---

部分转自http://v-vampires.iteye.com/blog/988290
今天在Eclipse上安装maven插件时遇到了如下的错误：
Cannot complete the install because one or more required items could not be found.
  Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
  Missing requirement: Maven Integration for Eclipse (Editors) 0.12.1.20110112-1712 (org.maven.ide.eclipse.editor 0.12.1.20110112-1712) requires 'bundle org.eclipse.zest.core 0.0.0' but it could not be found
  Cannot satisfy dependency:
    From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
    To: org.maven.ide.eclipse.editor 
 
感觉上是少maven依赖的eclipse插件，网上查了查，解决方法如下：
 
启动eclipse，点击window——>preferences——>install/update——>available software sites，点击Add
添加如下信息：
<span style="color:red">GEF  http://download.eclipse.org/tools/gef/updates/releases/</span>
然后再重新安装maven插件
-------------------------------------------------

maven插件的安装就是在Help->install new software->add 中
添加  m2e  -  http://m2eclipse.sonatype.org/sites/m2e/
下载即可