父工程: parent-project
子工程:project-child project-child2 project-child3


将src目录删除了(在父工程中的src目录是没有用的)
右击父工程------new------module




聚合工程创建完之后

在父工程的pom文件中

每当创建一个子工程,在父工程的pom文件中就会自动生成该子工程的模块
在父工程的pom文件中添加
pom -----------必须添加

UTF-8
UTF-8
1.8

org.springframework.boot
spring-boot-starter-parent
2.1.5.RELEASE
org.springframework.boot
spring-boot-starter
org.springframework.boot
spring-boot-starter-logging
org.springframework.boot
spring-boot-starter-web
org.springframework.boot
spring-boot-configuration-processor
true