简体   繁体   English

Maven Eclipse插件的安装未完成

[英]Installation of maven eclipse plugin doesn't finish

Hello I'm trying to install maven plugin with eclipse and I have a following problem, more in picture below : 您好,我正在尝试使用eclipse安装Maven插件,但是我遇到了以下问题,下面的图片更多

替代文字

So my question is, is this supposed to take this long or I did something wrong? 所以我的问题是,这应该花这么长时间还是做错了什么?

I'm using eclipse galileo , I went to the window-> install new software -> typed in 我正在使用Eclipse galileo,我转到了窗口->安装新软件->输入

http://m2eclipse.sonatype.org/update/ website and name maven

Pressed next then finish, did I do something wrong, or is there another way to get maven working with eclipse? 接下来按下然后完成,我做错了什么,还是有另一种方法让Maven使用Eclipse? I need it for my project . 我的项目需要它。 thank you 谢谢

You could use maven-eclipse-plugin instead of m2eclipse. 您可以使用maven-eclipse-plugin代替m2eclipse。

With maven-eclipse-plugin you just add some configuration to pom.xml, execute mvn eclipse:eclipse and refresh project in Eclipse and you are done. 使用maven-eclipse-plugin,您只需向pom.xml添加一些配置,执行mvn eclipse:eclipse并在Eclipse中刷新项目即可完成。

You will lose UI to handle dependencies etc. directly from IDE (that would be provided by m2eclipse) but I have not seen much benefit from that. 您将失去UI来直接从IDE处理依赖项等(这将由m2eclipse提供),但是我没有看到很多好处。 You can manually edit pom.xml just fine. 您可以手动编辑pom.xml就可以了。

First, update site url you pasted is url for stable version builds. 首先,您粘贴的更新站点URL是用于稳定版本构建的URL。 According this document stable version of m2eclipse works with Eclipse 3.2, 3.3 or 3.4. 根据该文档 ,m2eclipse的稳定版本可与Eclipse 3.2、3.3或3.4一起使用。

To work with Galileo version (Eclipse 3.5) try update from stable development builds site . 要使用Galileo版本(Eclipse 3.5),请尝试从稳定的开发版本站点进行更新。 I work with this version and I'm happy with it. 我使用此版本,对此感到满意。 It has a lot more features than stable one. 它具有比稳定功能更多的功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM