在eclipse juno中安装maven插件 [英] Install maven plugin in eclipse juno

查看:116
本文介绍了在eclipse juno中安装maven插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 无法完成安装,因为一个或多个无法找到更多所需物品。 
正在安装的软件:m2e - 适用于Eclipse的Maven集成(包括孵化组件)1.5.0.20140606-0033(org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
缺少要求:Maven Eclipse 1.5.0.20140606-0033(org.eclipse.m2e.core 1.5.0.20140606-0033)的集成需要bundle com.google.guava [14.0.1,16.0.0],但找不到
不能满足依赖关系:
From:m2e - 适用于Eclipse的Maven Integration(包括孵化组件)1.5.0.20140606-0033(org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
至: org.eclipse.m2e.core [1.5.0.20140606-0033]


解决方案

EClipse juno不支持maven 1.5..still他们没有添加1.5的功能



所以尝试1.4或1.3



http://download.eclipse.org/technology/m2e/releases/1.3



http://download.eclipse.org/technology/m2e/releases/1.4



MAVEN INSTALLATION



选项1:


  1. 打开Eclipse IDE

  2. 单击帮助 - >安装新软件...

  3. 点击右上角的添加按钮

  4. 在弹出窗口中填写名称为M2Eclipse,位置为 http://download.eclipse.org/technology/m2e/releases/1.4

  5. 现在点击OK
    安装后将开始。

选项2: -


  1. 打开Eclipse

  2. 转到帮助 - > Eclipse Marketplace

  3. 由Maven搜索

  4. 点击Maven Integration for Eclipse部分的安装按钮

  5. 按照说明一步一步执行

之后成功的安装在Eclipse中执行以下操作:


  1. 转到窗口 - >首选项

  2. Maven参加了左边的小组

最后,


  1. 单击现有项目

  2. 选择配置 - >转换为Maven项目


I am trying to install maven 1.5 in eclipse unfortunately I am getting errors like:

Cannot complete the install because one or more required items could not be found.
  Software being installed: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
  Missing requirement: Maven Integration for Eclipse 1.5.0.20140606-0033 (org.eclipse.m2e.core 1.5.0.20140606-0033) requires 'bundle com.google.guava [14.0.1,16.0.0)' but it could not be found
  Cannot satisfy dependency:
    From: m2e - Maven Integration for Eclipse (includes Incubating components) 1.5.0.20140606-0033 (org.eclipse.m2e.feature.feature.group 1.5.0.20140606-0033)
    To: org.eclipse.m2e.core [1.5.0.20140606-0033]

解决方案

EClipse juno doesnt support maven 1.5..still they have not added capability of 1.5

so try 1.4 or 1.3

http://download.eclipse.org/technology/m2e/releases/1.3

http://download.eclipse.org/technology/m2e/releases/1.4

MAVEN INSTALLATION

OPTION 1 :

  1. Open Eclipse IDE
  2. Click Help -> Install New Software...
  3. Click Add button at top right corner
  4. At pop up: fill up Name as "M2Eclipse" and Location as http://download.eclipse.org/technology/m2e/releases/1.4
  5. Now click OK After that installation would be started.

OPTION 2 :-

  1. Open Eclipse
  2. Go to Help -> Eclipse Marketplace
  3. Search by Maven
  4. Click "Install" button at "Maven Integration for Eclipse" section
  5. Follow the instruction step by step

After successful installation do the followings in Eclipse:

  1. Go to Window --> Preferences
  2. Observe, Maven is enlisted at left panel

Finally,

  1. Click on an existing project
  2. Select Configure -> Convert to Maven Project

这篇关于在eclipse juno中安装maven插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆