Intellij idea主项目下新建maven子项目模块

2024-11-05 17:47:07

1、选择File-》new-》module。

Intellij idea主项目下新建maven子项目模块

2、在module新建窗口中勾选上create from archetype,然后选中quickstart。

Intellij idea主项目下新建maven子项目模块

3、点击下一步,在这一步填写上GroupID,artifactID。

Intellij idea主项目下新建maven子项目模块

4、然后点击下一步,在这里配置你的maven仓库目录和你的maven配置。

Intellij idea主项目下新建maven子项目模块

5、点击下一步,给你的maven子模块命名。

Intellij idea主项目下新建maven子项目模块

6、点击完成,这样我们就在父项目下建立了一个maven的子模块。

Intellij idea主项目下新建maven子项目模块
猜你喜欢