MyEclipse 6.5集成了Maven插件,不过有不少bug,用习惯了m2eclipse,不想在这上面浪费时间。要安装m2eclipse,需要先把自带的maven插件卸载掉,卸载步骤如下:
1.删除/eclipse/features/com.genuitec.myeclipse.maven_6.5.1.zmyeclipse650200806目录
2.进入plugins目录,删除以下目录及jar包
1 com.genuitec.myeclipse.maven_6.5.1.zmyeclipse650200806
2 org.maven.ide.components.archetype_common_2.0.0.20080331-1600
3 org.maven.ide.components.maven_embedder_2.1.0.20080410-2200
4 org.maven.ide.components.maven_model_edit_1.0.0.20080331-1600
5 org.maven.ide.components.maven_scm_1.0.0.20080410-2200
6 org.maven.ide.components.nexus_indexer_1.0.0.20080331-1600
7 org.maven.ide.components.qname_1.0.0.20080331-1600
8 com.genuitec.eclipse.maven_6.5.1.zmyeclipse650200806.jar
9 org.maven.ide.eclipse.central_0.9.1.zmyeclipse650200806.jar
10 org.maven.ide.eclipse.scm_0.9.2.zmyeclipse650200806.jar
11 org.maven.ide.eclipse_0.9.3.zmyeclipse650200806.jar
关闭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
1.Help -> Find and Install ->Search for new features to install->New Remote Site
name:m2eclipse
url:http://repository.sonatype.org/content/sites/forge-sites/m2e/0.10.0/S/20100209-0800/
3.设置maven
Window->preferences,搜索maven,User Settings中选择本地maven配置文件,Update Settings->Apply->OK