创建maven父项目 

eclipse2021创建maven项目与子模块_文件包含

勾选Create a simple project (skip archtype selection) 

eclipse2021创建maven项目与子模块_vue.js_02

 输入GroupId,ArtifactId,选择Version,选择打包方式为pom

eclipse2021创建maven项目与子模块_python_03

 造成的项目pom文件包含了刚才输入的GroupId,ArtifaceId,Version,Packaging

eclipse2021创建maven项目与子模块_maven_04

删除掉src目录 

 

eclipse2021创建maven项目与子模块_python_05

 右击my-game-server选择Maven Module并创建

eclipse2021创建maven项目与子模块_maven_06

 输入模块名,并勾选Create a simple project (skip archtype selection) 

eclipse2021创建maven项目与子模块_python_07

项目的 pom文件已包含模块的引用

eclipse2021创建maven项目与子模块_vue.js_08

 子模块的pom文件中也声明了父模块的引用

eclipse2021创建maven项目与子模块_文件包含_09