Unable to create Spring multi-module project in Intellij IDE ultimate 2020.3

Viewed 392

I am new to maven , spring , Intellij IDEA. I am trying to create a spring multi module project and while I was following the documentations there is an option call "Packaging" or "Type" to change the project packaging as "pom".

This is a picture from one of the document.

Took from net

But in my IDEA (ultimate 2020.3) There is no option to change that. This is my IDEA. As I am new to this IDEA, is there any way to get that option? Or are there any best ways to create spring multi module project?

Please help. I have searched for solution for this more than 2 days.

enter image description here

(I am using ubuntu 18.04)

1 Answers

The Maven POM option you think generated a Maven aggregator (a pom packaging) does not actually do this. It only creates a pom.xml file without a template project (directories and a source code). The Maven Project option creates the pom.xml file and the source code.

enter image description here

As for your original question about how to create a multi-module Maven project - create an empty Maven project type, set its packaging to a pom and then add Spring Initializr projects to in using File | new | Module action.

Related