eclipse 无法为eclipse luna安装maven插件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/26500127/
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-19 22:06:25  来源:igfitidea点击:

Unable to install maven plugin for eclipse luna

eclipseeclipse-pluginmaven-3

提问by Chetan

Iam trying to install maven plugin for eclipse luna through eclipse market place but i get the following error.

我正在尝试通过 eclipse 市场为 eclipse luna 安装 maven 插件,但出现以下错误。

Cannot complete the install because one or more required items could not be found.
  Software being installed: Maven Development Tools 0.3.0.201410040035 (com.ifedorenko.m2e.mavendev.feature.feature.group 0.3.0.201410040035)
  Missing requirement: Maven Development Tools 0.3.0.201409160039 (com.ifedorenko.m2e.mavendev 0.3.0.201409160039) requires 'bundle org.eclipse.m2e.launching [1.6.0,2.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: Maven Development Tools 0.3.0.201410040035 (com.ifedorenko.m2e.mavendev.feature.feature.group 0.3.0.201410040035)
    To: com.ifedorenko.m2e.mavendev [0.3.0.201409160039]

Please help how can i solve this problem. All my environment variable are also set correctly.

请帮助我如何解决这个问题。我所有的环境变量也设置正确。

回答by Jabberwock

In fact, I have the same problem on my environment.

事实上,我的环境也有同样的问题。

In the error message, you can see that the plugin you want to install need the bundle org.eclipse.m2e.launching in following versions (1.6.0 to 2.0.0).

在错误信息中,您可以看到您要安装的插件需要以下版本(1.6.0 到 2.0.0)中的 bundle org.eclipse.m2e.launching。

Actually, only version 1.5 of m2e is released. You can install the milestone of version 1.6 by following these instructions.

实际上,只发布了 m2e 的 1.5 版本。您可以按照这些说明安装 1.6 版的里程碑。

  1. Help > Install new software...
  2. Paste the following link into the field Work with : http://download.eclipse.org/technology/m2e/milestones/1.6/
  3. Press enter
  4. Select all plugins you need
  5. Click Next and follow the wizard
  6. After this installation, retry the installation of "Maven Development Tools"
  1. 帮助 > 安装新软件...
  2. 将以下链接粘贴到字段 Work with 中:http: //download.eclipse.org/technology/m2e/milestones/1.6/
  3. 按回车
  4. 选择您需要的所有插件
  5. 单击下一步并按照向导进行操作
  6. 安装完成后,重试安装“Maven Development Tools”

I hope this answer will help you.

我希望这个答案能帮到你。

回答by Dennis

Try installing through this update site instead:

尝试通过此更新站点进行安装:

http://download.eclipse.org/releases/luna/

http://download.eclipse.org/releases/luna/

回答by Srinivasu

Use the latest Eclipse EE version it internally consist Maven plugin

使用最新的 Eclipse EE 版本,它内部包含 Maven 插件

回答by greg-449

The 'Maven Development Tools' you appear to be trying to install requires that the basic 'Maven Integration for Eclipse' (m2e) is already installed.

您似乎要尝试安装的“Maven 开发工具”要求已经安装了基本的“Eclipse 的 Maven 集成”(m2e)。

Some downloads of Eclipse include m2e but others don't.

Eclipse 的某些下载包含 m2e,但其他下载不包含。

Install m2e using 'Help > Install New Software...'. Choose the main Luna site to work with. m2e is in the 'Collaboration' section.

使用“帮助 > 安装新软件...”安装 m2e。选择要使用的主要 Luna 站点。m2e 位于“协作”部分。