`
sangmin214
  • 浏览: 176781 次
  • 性别: Icon_minigender_1
  • 来自: 黄山
文章分类
社区版块
存档分类
最新评论

m2eclipse安装

阅读更多

昨天晚上在eclipse里面想更新jetty的插件,总是不成功。今天早上手动下载然后安装,报了一些奇怪的错误。我在运行 http://wiki.eclipse.org/Jetty/Tutorial/Jetty-OSGi_SDK#Create_a_first_web-bundle 上面的“Create a first web-bundle ”居然需要手动加入“org.eclipse.ui.workbench”的包(org.eclipse.ui.plugin.AbstractUIPlugin找不到),虽然之后也找到了,但总感觉这样是不对的,这样的基础构建的类库应该不需要手动加入的,应该还是某些地方做的不规范。遂决定重新来过。

把eclipse和workspace删掉,重新加压缩我的helio。

关于“Developing with Eclipse and Maven ”,官方m2eclipse是有本教材的,http://www.sonatype.com/books/m2eclipse-book/reference/index.html,但是里面的东西有些还是很遗憾的过时了。譬如关于m2eclipse的安装,好像market place里面没有那个“install”的按钮了。

#1 Maven Integration for Eclipse (Core)的安装

在eclipse中加入站点 m2eclipse core update site - http://m2eclipse.sonatype.org/sites/m2e 然后更新,安装m2eclipse。

#2 Maven Integration for Eclipse (Extras)的安装

a. 安装Subclipse

这个可以直接在market place中安装

b. 安装Mylyn

这个也可以直接在market place中安装

c. m2eclipse extras也需要自己手动在eclipse里面安装

m2eclipse extras - http://m2eclipse.sonatype.org/sites/m2e-extras

 

分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics