如何从我的 eclipse 安装中删除 m2eclipse?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2452040/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:16:07  来源:igfitidea点击:

How do i remove m2eclipse from my eclipse installation?

eclipsemaveneclipse-pluginm2eclipse

提问by mvn

I don't need m2eclipse to work properly, I just need to remove m2eclipse for now and let eclipse behave normally. how do i do this?

我不需要 m2eclipse 才能正常工作,我现在只需要删除 m2eclipse 并让 eclipse 正常运行。我该怎么做呢?

回答by VonC

Two solutions:

两种解决方案:

Remove the plugin through the list of installed plugins
(the illustrations are from the blog post "Install Eclipse UI Form Editor" written by Albert ATTARD):

通过已安装插件列表删除插件
(插图来自Albert ATTARD撰写的博客文章“安装 Eclipse UI 表单编辑器” ):

install

安装

The "about eclipse" menu will give you access to the list of installed Software:

“about eclipse”菜单将让您访问已安装软件的列表:

uninstall

卸载

You can click on the right application (m2eclipse for you, Jiglo in this example), and click uninstall, and restart eclipse.

您可以单击正确的应用程序(m2eclipse,本例中为 Jiglo),然后单击卸载,然后重新启动 eclipse。



A safer solution would be first to install a new fresh copy of Eclipse, and add your existing plugins (except m2eclipse): if that fails, you still have your previous Eclipse installation untouched.

更安全的解决方案是首先安装一个新的 Eclipse 副本,然后添加现有插件(m2eclipse 除外):如果失败,您仍然保持以前的 Eclipse 安装不变。

回答by johan.i.zahri

after doing what VonC suggested, goto the directory eclipse\plugins and search anything with m2e and remove it from the directory also do the same for the eclipse\features directory. then you won't be seeing any of the m2e things again. i would have used m2e if it had a command line feature similar to "mvn eclipse:clean" and "mvn eclipse:eclipse" sadly their both incompatible with each other.. right now all i needed are those two command lines to get me up and running with eclipse just to browse and edit the code, etc..

在执行 VonC 建议后,转到目录 eclipse\plugins 并使用 m2e 搜索任何内容并将其从目录中删除,也对 eclipse\features 目录执行相同操作。那么你就不会再看到任何 m2e 的东西了。如果 m2e 具有类似于“mvn eclipse:clean”和“mvn eclipse:eclipse”的命令行功能,我会使用它,遗憾的是它们彼此不兼容..现在我只需要这两个命令行来帮助我和 eclipse 一起运行只是为了浏览和编辑代码等。