0
点赞
收藏
分享

微信扫一扫

eclipse2021创建maven项目与子模块


创建maven父项目 

eclipse2021创建maven项目与子模块_maven

勾选Create a simple project (skip archtype selection) 

eclipse2021创建maven项目与子模块_python_02

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

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

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

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

删除掉src目录 

 

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

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

eclipse2021创建maven项目与子模块_maven_06

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

eclipse2021创建maven项目与子模块_html5_07

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

eclipse2021创建maven项目与子模块_python_08

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

eclipse2021创建maven项目与子模块_maven_09

 

举报

相关推荐

0 条评论