Eclipse Indigo - 无法升级 m2e

发布于 2025-01-06 05:07:01 字数 1806 浏览 2 评论 0 原文

各位,

我正在尝试从更新站点升级“Maven Integration for Eclipse” - http://m2eclipse.sonatype.org/sites/ m2e

输入存储库站点后,Eclipse 向我显示可供下载的最新版本是 0.12.1.20110112-1712。但是,当我开始安装时,我收到有关现有依赖项的错误。这是错误的前几行:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Maven Integration for Eclipse (Required)    0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
  Software currently installed: Eclipse IDE for Java Developers 1.4.1.20110909-1818 (epp.package.java 1.4.1.20110909-1818)
  Only one of the following can be installed at once: 
    Maven Integration for Eclipse 0.12.1.20110112-1712 (org.maven.ide.eclipse 0.12.1.20110112-1712)
    Maven Integration for Eclipse 0.12.0.20101115-1102 (org.maven.ide.eclipse 0.12.0.20101115-1102)
    This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again. 1.0.0.20110607-2117 (org.maven.ide.eclipse 1.0.0.20110607-2117)
    This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again. 1.0.100.20110804-1717 (org.maven.ide.eclipse 1.0.100.20110804-1717)
...

好的。所以我需要先卸载旧版本的 m2e。我转到“帮助”->“关于”->“已安装的软件”。我看到安装了以下两个 m2e 功能:

Eclipse IDE for Java Developers-->EPP Java Package-->m2e - Maven Integration for Eclipse 1.0.100...
Eclipse IDE for Java Developers-->EPP Java Package-->slf4j over logback logging 1.0.100...

问题是当我选择这两个项目中的任何一个时,“卸载”仍然处于禁用状态。卸载它的唯一方法似乎是卸载父级“Eclipse IDE for Java Developers”。

有人可以告诉我我必须做什么吗?

预先感谢您的帮助。

此致,
彼得

Folks,

I am trying to upgrade "Maven Integration for Eclipse" from the update site - http://m2eclipse.sonatype.org/sites/m2e.

When the repository site is entered, Eclipse shows me that the latest version available for download is 0.12.1.20110112-1712. However, when I start the install, I get an error about existing dependency. Here are the first few lines of the error:

Cannot complete the install because of a conflicting dependency.
  Software being installed: Maven Integration for Eclipse (Required)    0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
  Software currently installed: Eclipse IDE for Java Developers 1.4.1.20110909-1818 (epp.package.java 1.4.1.20110909-1818)
  Only one of the following can be installed at once: 
    Maven Integration for Eclipse 0.12.1.20110112-1712 (org.maven.ide.eclipse 0.12.1.20110112-1712)
    Maven Integration for Eclipse 0.12.0.20101115-1102 (org.maven.ide.eclipse 0.12.0.20101115-1102)
    This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again. 1.0.0.20110607-2117 (org.maven.ide.eclipse 1.0.0.20110607-2117)
    This version of m2eclipse cannot be installed on top of the already installed m2eclipse. Uninstall the previous version of m2eclipse and try the install again. 1.0.100.20110804-1717 (org.maven.ide.eclipse 1.0.100.20110804-1717)
...

Ok. So I need to uninstall my older version of m2e first. I go to Help->About->Installed Software. I see the following two m2e features installed:

Eclipse IDE for Java Developers-->EPP Java Package-->m2e - Maven Integration for Eclipse 1.0.100...
Eclipse IDE for Java Developers-->EPP Java Package-->slf4j over logback logging 1.0.100...

The problem is when I select any of these two items, "uninstall" remains disabled. It seems the only way to uninstall it is to uninstall the parent "Eclipse IDE for Java Developers."

Can someone please tell me what I must do?

Thank you in advance for your help.

Regards,
Peter

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

冷心人i 2025-01-13 05:07:01

如果您在 RAD 8 中遇到此问题,请按照此处的说明进行操作:
https://www.ibm.com /developerworks/wikis/download/attachments/113607155/RAD_m2e-Nov.pdf?version=1

If you face this problem in RAD 8 follow the instructions here at
https://www.ibm.com/developerworks/wikis/download/attachments/113607155/RAD_m2e-Nov.pdf?version=1

零度℉ 2025-01-13 05:07:01

我在 Windows 7 上运行 Eclipse Indigo 64 位时遇到了同样的问题。我没有像在旧版本的 Eclipse 中那样在下拉列表中看到 m2 选项,所以我认为存在问题并尝试卸载它,但没有意识到它是内置于此版本中。

那是一个很大的错误!我重新安装或升级 m2eclipse 的所有努力都失败了。

最后,我使用该链接阅读了 RAD 的文档,了解要使用哪个软件更新 URL 以及选择 Satya 回答的文件。这是链接再次。

RAD 显然已经足够接近了,这让我走上了正确的道路。然后发现了“tampered files”的错误,原来是和使用jdk 1.7有关。我在此处找到了解决方案 是一个简单的修复,只需将安装的 jre 更改为 1.6,然后 m2eclipse 插件的下一次安装尝试就可以顺利进行。

我放置这些信息是希望如果有人遇到同样的问题并且不想重新安装 Eclipse,它可以节省他们的时间。如果使用我所有的插件和配置,重做所有事情将需要很长时间。

I had this same issue running Eclipse Indigo 64 bit running on Windows 7. I didn't see the m2 options in dropdowns like I had in older versions of eclipse, so I thought there was a problem and tried to uninstall it, not realizing it's built in to this version.

That was a big mistake! All my efforts to reinstall or upgrade m2eclipse back in failed.

Finally, I used the link to read through the documentation for RAD to see which software update url to use and which files to select that Satya answered with. Here is the link again.

RAD apparently is close enough and that got me on the right track. Then I found an error with "tampered files", which turned out to be related to using jdk 1.7. The solution I found here was an easy fix, just change the installed jre to 1.6 and then the next attempt of the installation for the m2eclipse plugin went through fine.

I'm putting this information in the hopes that it will save someone time if they run into this same issue and not want to reinstall eclipse. With all my plugins and configurations it would have taken a long time to redo everything.

孤城病女 2025-01-13 05:07:01

我在尝试在“Eclipse Indigo 3.7.0”(位于 Ubuntu 11.10 的“Ubuntu 软件中心”)上安装时也遇到了问题。

请参阅下面的日志:

无法完成安装,因为一个或多个必需项目可能会
找不到。正在安装的软件:m2e - Maven Integration for
Eclipse 1.0.100.20110804-1717(org.eclipse.m2e.feature.feature.group
1.0.100.20110804-1717)缺少要求:m2e - Eclipse 1.0.100.20110804-1717 的 Maven 集成
(org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717)需要
'org.eclipse.wst.xml.core 0.0.0' 但找不到

,但Maven适用于“Eclipse Indigo Service Release 1”。

Linux 64 位 上下载“Eclipse Indigo Service Release 1”镜像:http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-jee-indigo-SR1-linux-gtk-x86_64 .tar.gz

更多镜像:http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr2

仅供参考:MercurialEclipse 插件也适用于“ Eclipse Indigo Service Release 1”(在终端上使用“sudo apt-get install Mercurial”安装hg命令后)。

I also had an issue when trying to install on "Eclipse Indigo 3.7.0" (that came in the "Ubuntu Software Center" of Ubuntu 11.10).

See log below:

Cannot complete the install because one or more required items could
not be found. Software being installed: m2e - Maven Integration for
Eclipse 1.0.100.20110804-1717 (org.eclipse.m2e.feature.feature.group
1.0.100.20110804-1717) Missing requirement: m2e - Maven Integration for Eclipse 1.0.100.20110804-1717
(org.eclipse.m2e.feature.feature.group 1.0.100.20110804-1717) requires
'org.eclipse.wst.xml.core 0.0.0' but it could not be found

But Maven works on "Eclipse Indigo Service Release 1".

Download mirror for "Eclipse Indigo Service Release 1" on Linux 64 bit: http://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/indigo/SR1/eclipse-jee-indigo-SR1-linux-gtk-x86_64.tar.gz

More mirrors: http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr2

FYI: MercurialEclipse plugin also worked with "Eclipse Indigo Service Release 1" (after installing the hg command using "sudo apt-get install mercurial" on the terminal).

剧终人散尽 2025-01-13 05:07:01

这是 Eclipse 版本出现的问题。下载并安装面向 Java EE 开发人员的 Eclipse。运行 Eclipse Help>Eclipse Marketplace> 输入 m2e 并进行搜索。一键安装。

It's a problem coming out of Eclipse version. Download and install Eclipse for Java EE Developers. Run Eclipse Help>Eclipse Marketplace>Enter m2e and do a search. Install it with one click.

日久见人心 2025-01-13 05:07:01

为了在 helios 上安装新的 m2e (1.4),我必须卸载 eclipse 中的所有 Maven 元素,然后,我可以从 http://download.eclipse.org/technology/m2e/releases

卸载现有 Maven 元素的步骤(来自 org.maven.ide.*):

  1. 单击“帮助”中的“ eclipse
  2. 安装新软件...
  3. 单击已安装的内容
  4. 从 org.maven.ide.* 中选择所有项目(即使是必需的)
  5. 将其全部卸载

In order to install the new m2e (1.4) on helios, i had to uninstall all maven elements in eclipse and then, i could install m2e from http://download.eclipse.org/technology/m2e/releases".

Steps to uninstall existing maven elements ( from org.maven.ide.*) :

  1. Click in Help in eclipse
  2. Install New Software...
  3. Click on What is already installed
  4. Select all item from org.maven.ide.* (even if it's Required)
  5. uninstall them all
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文