打包springboot多模块项目
1.注释掉root模块的pom里的打包代码
2.【关键】对于common模块、实体模块、会被其他模块引入的子模块而言,执行如下打包代码:
<build>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<configuration>
<classifier>execute</classifier