How do I add a Maven module to an existing Maven project IntelliJ?
You can add a Maven module to a project you’re already working on. Right-click the project folder in the Project tool window and choose New | Module.
To open the New Module wizard, click File| New | Module from the main menu.