《深入 Maven 高级聚合:项目架构优化必会技能。》接着,在父项目目录下创建子模块。还是用archetype创建好子模块后,子模块的pom.xml<parent></parent>同时,在父项目的pom.xml中,通过modules<modules></modules>到这儿,一个简单的聚合项目结构就搭好啦。 ——来自博客 https://blog.csdn.net/weixin_73355603/article/details/146172018