Java Project с подмодулями
mvn archetype:generate -DgroupId=org.baeldung -DartifactId=parent-project
Joyous Jay
mvn archetype:generate -DgroupId=org.baeldung -DartifactId=parent-project