删除 MyEclipse 6.5.1自带的Maven插件
2013-01-10 13:45 java20130722 阅读(970) 评论(0) 编辑 收藏 举报
MyEclipse自6.5版开始集成Maven, 但是bug超多, 现在6.5.1了我还是没法选择窗口菜单, 于是想把这个垃圾灭了换上好用的m2eclipse, 但是MyEclipse又不提供插件禁用, 只好手动来了.
关闭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
关闭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 6.5.1 GA.
然后通过插件重新安装最新的maven插件就可以了:
打开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.