关闭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.