简体   繁体   English

我在Eclipse中安装了Maven Integration,但无法创建Maven POM文件! 为什么?

[英]I installed Maven Integration in the Eclipse but I can't create Maven POM file! Why?

I installed Maven Integration in the Eclipse and now, I want to create a POM.xml. 我在Eclipse中安装了Maven Integration,现在,我想创建一个POM.xml。 but I don't see Maven POM file item in new project window. 但我在新项目窗口中看不到Maven POM文件项。 why? 为什么?

This is how it works in Indigo with m2e 1.0.100: 这是在m2e 1.0.100中的Indigo中的工作方式:

File -> New -> Other... -> Maven -> Maven project 文件->新建->其他...-> Maven-> Maven项目

Or you can add pom to existing Java project by: 或者,您可以通过以下方式将pom添加到现有的Java项目中:

Right click on project>Confugure>convertToMavenProject 右键单击项目> Confugure> convertToMavenProject

It will add Maven functionality to the Project. 它将为项目添加Maven功能。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM