一、eclipse安装maven插件
安装maven插件前要安装一系列的插件,Integration with other Eclipse tools, such as WTP, AJDT, Mylyn, Subclipse and others
1.安装Mylyn插件,插件地址为http://download.eclipse.org/mylyn/releases/indigo
2.安装svn插件即subclipse,插件地址为http://subclipse.tigris.org/update_1.0.x
3.安装ajdt,插件地址为ajdt - http://download.eclipse.org/tools/ajdt/37/update
4.安装wtp,插件地址为http://download.eclipse.org/webtools/repository/indigo
5.可能还需要安装gef,插件地址为http://download.eclipse.org/tools/gef/updates/releases
然后安装maven插件m2e插件地址为http://download.eclipse.org/technology/m2e/releases
二、eclipse关键本机maven
点击eclipse菜单window>preferences点开左侧菜单的maven选择installations,点击add按钮选择第一步安装的maven路径即可