eclipse下安装maven的一点总结
来源:互联网 发布:淘宝买家等级怎么看 编辑:程序博客网 时间:2024/05/22 03:16
第一次写这种技术博文,有点不值如何描述~~~ 主要是为了总结一下自己在这个过程中的一点收获,以备自己或他人后用。
我用的eclipse是 Indigo Release版,看网上大概都是数字版本,搜了下,如何将文字版对应到数字版本,参考如下博文:
http://blog.csdn.net/rui_dlut/article/details/6764137
有了数字版本信息,就可以下载对应的插件进行安装了。
在安装maven的时候遇到的主要问题是网上各种博文给出的链接都是不能用的,下面给出官网:http://m2eclipse.sonatype.org/installing-m2eclipse.html 此网页中有m2eclipse Core Update Site:http://m2eclipse.sonatype.org/sites/m2e 选择这个链接步骤具体如下:
To install this plugin in the Eclipse IDE:
- Select Help > Install New Software. This should display the "Install" dialog.
- Paste the Update Site URL into the field named "Work with:" and press Enter. Pressing Enter should cause Eclipse to update list of available plugins and components.
- Choose the component listed under m2eclipse: "Maven Integration for Eclipse (Required)".
- Click Next. Eclipse will then check to see if there are any issues which would prevent a successful installation.
- Click Next and agree to the terms of the Eclipse Public License v1.0.
- Click Finish to begin the installation process. Eclipse will then download and install the necessary components.
- Once the installation process is finished, Eclipse will ask you if you want to restart the IDE. Sonatype strongly recommends that you restart your IDE after installing m2eclipse.
以上是官网给出的步骤,不存在任何问题。但安装过程可能遇到如下问题:
Cannot complete the install because one or more required items could not be found.
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)
Missing requirement: Maven Integration for Eclipse (Editors) 0.12.1.20110112-1712 (org.maven.ide.eclipse.editor 0.12.1.20110112-1712) requires 'bundle org.eclipse.zest.core 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
To: org.maven.ide.eclipse.editor [0.12.1.20110112-1712]
参考博文:http://gzenzen.iteye.com/blog/991284 可顺利解决;
至此maven安装完毕。重新启动eclipse,可能遇到如下问题:
Some Maven plugins may not work when importing projects or updating source folders.
参考博文:http://blog.csdn.net/dingmao6790229/article/details/5900888 最后一项的处理,即可
至此完成安装。
- eclipse下安装maven的一点总结
- eclipse下安装maven的一点总结(转载)
- eclipse下安装maven
- Eclipse下maven插件的安装
- Windows 下 Eclipse+Maven插件的安装
- eclipse下maven插件的安装
- eclipse下maven、svn插件的安装
- Maven 在 eclipse 下的安装配置
- Eclipse 安装Maven 错误总结
- Eclipse中安装Maven(下)
- eclipse下安装maven地址
- linux下python扩展包安装的一点总结
- eclipse的maven插件和Fatjar的安装总结
- linux下maven安装和eclipse下的maven插件安装
- 关于Eclipse-JUNO安装Maven失败的总结
- Eclipse下Maven的安装、配置与使用
- eclipse下安装maven以及m2eclipse的方法和过程
- Eclipse下Maven插件安装的几种方法
- Android系统的智能指针(轻量级指针、强指针和弱指针)的实现原理分析
- Objective-C语法之数组对象的那些事儿(七)
- J2EE面试题
- 指针初始化的小问题
- 归并排序
- eclipse下安装maven的一点总结
- 内存泄漏检测和隔离(整理msdn)
- 程序的编译和链接
- java @override 报错处理
- 如何理解优先级反转这个概念
- MSL(max segment lifetime) TCP进程结束 端口是否再分配
- linux重要头文件
- Arduino-Lite, RoboPeak使用的高效轻量级AVR库(1)
- Arduino-Lite, RoboPeak使用的高效轻量级AVR库(2)