当前位置: 代码迷 >> Eclipse >> MyEclipse6.5上安装maven插件
  详细解决方案

MyEclipse6.5上安装maven插件

热度:90   发布时间:2016-04-23 12:32:04.0
MyEclipse6.5下安装maven插件

6.5版开始集成Maven, 但是bug超多,只好手动安装maven3.
关闭Eclipse程序, 进入MyEclipse插件目录/eclipse/features,
删除com.genuitec.myeclipse.maven_6.5.1.zmyeclipse650200806目录,
接着删除plugins目录下的com.genuitec.myeclipse.maven_6.5.1.zmyeclipse650200806, org.maven.ide.components.archetype_common_2.0.0.20080331-1600, org.maven.ide.components.maven_embedder_2.1.0.20080410-2200, org.maven.ide.components.maven_model_edit_1.0.0.20080331-1600, org.maven.ide.components.maven_scm_1.0.0.20080410-2200,
org.maven.ide.components.nexus_indexer_1.0.0.20080331-1600,
org.maven.ide.components.qname_1.0.0.20080331-1600目录,
还有com.genuitec.eclipse.maven_6.5.1.zmyeclipse650200806.jar,
org.maven.ide.eclipse.central_0.9.1.zmyeclipse650200806.jar,
org.maven.ide.eclipse.scm_0.9.2.zmyeclipse650200806.jar,
org.maven.ide.eclipse_0.9.3.zmyeclipse650200806.jar
这四个文件. 然后加上-clean参数启动Eclipse.
在安装myeclipse的maven插件时一定要先在本机安装maven
MyEclipse 6.5安装
打开Help->Software Updates->Find and Install...->Search for new faatures to install->New Remote Site...
在打开的对话框中输入:
Name:m2eclipse
Url:http://m2eclipse.sonatype.org/sites/m2e/0.10.0.20100209-0800/
安装好maven后在IDE菜单栏点击? window? --> preferences 输入maven
接着点击Installations -->Add? -->选择maven的安装目录 -->Apply
点击User Settings 选择解压后maven下conf文件夹中的settings.xml再点击Apply.