How to create new maven project with a parent pom instead of one that is structured for Java?

Answered

I'd like to create a new maven project which is just a parent/reactor pom in IntelliJ, and then add new maven modules with source.

Is there a specific archetype that I would use for this? When I create a Maven project in Inteillij I just get a basic Java project.

I'd also like it if, when I added a new maven module to the project, if it would work with the <modules> element in the reactor pom.

Does Intellij support this and I'm just missing it or do I have to manage it manually?

Thanks

0
1 comment

Just create new maven project, then add new maven modules to it (File | New | Module of a Maven type and select it to be a child module.

See Configuring a multi-module Maven project.

0

Please sign in to leave a comment.