I have imported a project from git, where topmost folder does not contain any pom file. It has src folder and some java files under it's tree.
Simultaneously, it has several subfolders with pom files in each.
How to force IntelliJ think these are projects?
How to force IntelliJ think these are projects?
You can add them as modules to your IDEA project. Open the Maven tool window and use the add button to add them.
If you want each to be a separate IDEA project, then simply use File > Project from Existing Sources for each one and select the pom file.