maven eclipse 插件安装未完成
你好,我正在尝试使用 Eclipse 安装 Maven 插件,但遇到以下问题,更多信息如下图所示:
所以我的问题是,这应该花这么长时间还是我做错了什么?
我正在使用 eclipse galileo ,我进入了窗口->安装新软件->输入
http://m2eclipse.sonatype.org/update/ website and name maven
Pressed next 然后完成,我做错了什么吗,或者还有其他方法让 Maven 与 eclipse 一起工作吗?我的项目需要它。谢谢
Hello I'm trying to install maven plugin with eclipse and I have a following problem, more in picture below :
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
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? I need it for my project . thank you
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
首先,更新您粘贴的站点网址是稳定版本构建的网址。根据本文档 m2eclipse 的稳定版本可与 Eclipse 3.2、3.3 或 3.4 配合使用。
要使用 Galileo 版本 (Eclipse 3.5),请尝试从稳定开发构建站点进行更新。我使用这个版本并且对此感到满意。它比稳定版具有更多的功能。
First, update site url you pasted is url for stable version builds. According this document stable version of m2eclipse works with Eclipse 3.2, 3.3 or 3.4.
To work with Galileo version (Eclipse 3.5) try update from stable development builds site. I work with this version and I'm happy with it. It has a lot more features than stable one.
您可以使用 maven-eclipse-plugin 而不是 m2eclipse。
使用 maven-eclipse-plugin,您只需向 pom.xml 添加一些配置,执行 mvn eclipse:eclipse 并在 Eclipse 中刷新项目即可完成。
您将失去直接从 IDE(将由 m2eclipse 提供)处理依赖项等的 UI,但我还没有看到从中得到多少好处。您可以手动编辑 pom.xml 就可以了。
You could use maven-eclipse-plugin instead of 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.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. You can manually edit pom.xml just fine.