Eclipse、Maven、Subclipse 和多模块
我在 SVN 中有一个项目,我已将其检出到新安装的 eclipse (Indigo) 中。以前,使用 m2e 和 subclipse 插件,我能够作为 Maven 项目进行签出 - 但这似乎不再可能。然而,我在某处读到,签出然后转换为 Maven 项目是正确的方法。
我已经这样做了,但我的项目有许多嵌套模块 - 我希望每个模块在 Eclipse 工作区中显示为单独的项目。这曾经是可能的,并在结帐时指定,但似乎不再有效。
这可能吗?如果可以,我该怎么做?
I have a project in SVN that I have checked out into a new install of eclipse (Indigo). Previously, with the m2e and subclipse plugins I was able to check out as a Maven project - but this no longer seems possible. I read somewhere, however, that checking out and then converting to a maven project is the way to go.
I've done that, but my project has a number of nested modules - each of which I would like to appear as separate projects in the eclipse workspace. This used to be possible and specified during checkout, but no longer seems to work.
Is this possible and, if so, how can I do it?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我设法找到了 m2e subclipse 连接器 - 我之前没能找到。这一切都正如我所希望的那样。
I managed to find the m2e subclipse connector - which I had previously failed to find. This set it all out exactly as I had hoped it would.
也许您没有使用正确的 M2Eclipse 版本:
Indigo 是 Eclipse 3.7,并且“m2eclipse 与 Eclipse 3.5.2 和 3.6.1 兼容”(来源:http://m2eclipse.sonatype.org/installing-m2eclipse.html)。
“m2e 针对 Eclipse 3.6 (Helios) 和 3.7 (Indigo) 进行了测试”(http://www.eclipse.org/m2e/)
Maybe you don't use the right version of M2Eclipse :
Indigo is Eclipse 3.7, and "m2eclipse is compatible with Eclipse 3.5.2 and 3.6.1" (source : http://m2eclipse.sonatype.org/installing-m2eclipse.html).
"m2e is tested against Eclipse 3.6 (Helios) and 3.7 (Indigo)" (http://www.eclipse.org/m2e/)
您还可以尝试使用此插件:http://code.google.com/p/q4e/
我们在 m2e 上使用它,并为管理依赖项和导入 Maven2 项目提供更好的菜单支持。
You could also try using this plugin: http://code.google.com/p/q4e/
We use that over m2e and provides better menu support for manage dependencies and importing Maven2 projects.