I developing a new Plugin for my own and here's my issue. I create multiple modules in one project. Each module has a different pom.xml file. How to mark this module as Maven Project. I read a lot of community post's about maven in IntelliJ but no one tries to mark the existing module as Maven Project.
For example when I create a new module programmatically and mark pom.xml by "Add as Maven Project" then work's fine. But how do this programmatically?