Selena: How can I programmatically import a pom.xml as an IntelliJ project?
Hi,
I've generated a pom.xml along with a maven project structure and would like to point IntelliJ to the pom.xml file and tell it to load it as a project.
From what I've seen ProjectManager.getInstance().loadAndOpenProject("path to pom.xml"); is not enough because it does not create the modules of the project and leaves me with an almost empty project containing only the pom.xml.
Thanks in advance,
Raymond
Please sign in to leave a comment.
Hello Raymond,
ProjectUtil.openOrImport()
--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
That's it!!! Thanks Dmitry!