maven eclipse 插件安装未完成

发布于 2024-08-18 00:26:54 字数 378 浏览 6 评论 0原文

你好,我正在尝试使用 Eclipse 安装 Maven 插件,但遇到以下问题,更多信息如下图所示:

alt text

所以我的问题是,这应该花这么长时间还是我做错了什么?

我正在使用 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 :

alt text

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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

寻梦旅人 2024-08-25 00:26:54

首先,更新您粘贴的站点网址是稳定版本构建的网址。根据本文档 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.

赤濁 2024-08-25 00:26:54

您可以使用 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文