我有一个未使用 Maven 的 Eclipse 项目,我可以在项目中开始使用 Maven 吗?
我安装了 m2eclipse 插件。我想在不使用 maven 的项目中创建 pom.xml 。 在此网站中,我找到了以下有关如何执行此操作的信息,但是它对我不起作用。
创建 Maven POM 文件
如果您已经有一个不使用 Maven 的 Eclipse 项目,那么您 可以通过创建新的 Maven POM 文件来开始在项目中使用 Maven。 m2eclipse 提供了一个向导,可以轻松地在项目中创建新的 POM 文件 现有项目。要启动此向导,请选择文件→新建→其他..., 在过滤器字段中输入“maven”,然后选择 Maven POM 文件。这 POM 创建向导如图 5“创建新 POM”所示:
请帮我解决这个问题问题
I installed m2eclipse plugin. I want to create pom.xml in my project which is not using maven.
İn this site I found information below about how can I do it but it doesn't work for me.
Create a Maven POM File
If you already have an Eclipse project which is not using Maven, you
can start using Maven in a project by creating a new Maven POM file.
m2eclipse provides a wizard to easily create a new POM file inside an
existing project. To launch this wizard, select File → New → Other...,
type in "maven" in the filter field, and select Maven POM File. This
POM creation wizard is shown in Figure 5, “Creating a New POM”:
Please help me to solve this problem
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您使用 eclipse indigo,则只需右键单击该项目,选择“配置”>“配置”即可。转换为maven项目。如果您不使用 eclipse indigo,您可以执行类似右键单击项目 > 的操作。梅文>启用依赖管理(如果我没记错的话)
If you use eclipse indigo then simply right-click the project, select Configure > Convert to maven project. If you are not using eclipse indigo you can do something like right-click project > Maven > Enable dependency management (if I remember correctly)