intellij multiple projects
Click the little + icon in the "Maven Projects" window
(View > Tool Windows > Maven Projects) and then select the additional
pom file you want to import.
Source: https://stackoverflow.com/questions/8774024/intellij-working-on-multiple-projects