参考
https://blog.csdn.net/longwuxin001/article/details/74910574
子模块在
<parent>
<groupId>父模块groupId</groupId>
<artifactId>父模块artifactId</artifactId>
<version>1.0-SNAPSHOT</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
父模块添加子模块的artifactId到module标签中
<modules>
<module>子模块artifactId</module>
</modules>