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

2025-04-25 07:06:31

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子项目模块
声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢