关于“将 Mahout 的 Maven 项目转换为 Eclipse 项目”的问题
在安装Mahout等开源软件时,我读了一些注释,例如
将Mahout的Maven项目转换为Eclipse项目,
这是什么意思? Maven 项目和 Eclipse 项目有什么区别?
While installing the open-source software like Mahout, I read some notes like
Convert Maven project of Mahout into Eclipse project
What does this mean? What's the difference between a Maven project and Eclipse project?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您还没有安装Maven,请安装它。
输入命令提示符或 shell,然后导航到 Mahout 所在的目录(有一个
pom.xml
文件)。键入命令:这将为 Eclipse 创建项目文件并在 Eclipse 中打开该项目。
无需转换。 Eclipse 支持 Maven 项目,反之亦然。
这两个项目之间的差异源于工具的差异。 Eclipse 是一个 IDE 和 Maven 是一个构建工具。事实上,IDE 是构建工具的超集。这就是 Eclipse 可能使用 Maven 进行构建的原因。项目之间的公共属性与构建的完成方式相关,Eclipse 有一组属性旨在保留编程会话之间的状态。
Install Maven if you haven't already done it.
Enter the command prompt or a shell and navigate to the directory where the Mahout is located (there's a
pom.xml
file). Type the command:which will create project files for Eclipse and open the project in Eclipse.
No conversion is needed. Eclipse supports Maven projects, and vice-versa.
Difference between these two projects yield from the difference of the tools. Eclipse is an IDE and Maven is a build tool. In fact, IDE is a superset of a build tool. That's why Eclipse may use Maven for building. Common properties between the projects relate to how the build is being done and Eclipse has a set of properties aimed to persist the state between programming sessions.