summary:
Add to IDEA project management maven, add methods http://php-note.com/article/detail/3e0e2087996541f3874270129d34ce3c reads as follows:
There is no way a project pom.xml
1, in the project root directory, create a file pom.xml, and fill out the contents.
2, in the pom.xml file, right Add as Maven Project
or in the project, right Add Framework Support
Second way project pom.xml
Maven open window, select the corresponding item and click 绿色的加号(Add Maven Projects)
, you can add a subproject pom.xml file
Maven project has been added to the management,
Right on pom.xml file, no Add as Maven Project选项
or right click on the project, noAdd Framework Support选项
I take the detour process:
Join maven project management https://www.cnblogs.com/liehen2046/p/10730973.html
Note that the order of the article, in the following order:
1. Right on the project - "the Add Support Framework
2.Choose Maven
3. generated pom.xml
According to the order seen, using this method on the premise that the project itself is not pom.xml.
and so,
No maven option (I've imported through the project maven view, after the project has been added to the import maven management, but I do not know)
After maven no option, continue to ask of your mother,
https://blog.csdn.net/nbnxaa/article/details/88565710 reads as follows:
Select the right solution pom select add as Maven Project
因为项目已经加入到maven管理,所以没有add as Maven Project 这个选项