且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

IntelliJ - 将Java项目/模块转换为Maven项目/模块

更新时间:2022-01-30 10:54:23

对 - 点击模块,选择添加框架支持...,然后选中Maven技术。

Right-click on the module, select "Add framework support...", and check the "Maven" technology.

(这也会创建一个 pom.xml 供您修改。)

(This also creates a pom.xml for you to modify.)

如果您的意思是添加源存储库元素,我认为您需要手动执行此操作–不确定。

If you mean adding source repository elements, I think you need to do that manually–not sure.

预IntelliJ 13这不会将项目转换为 Maven标准目录布局,13+它将会。

Pre-IntelliJ 13 this won't convert the project to the Maven Standard Directory Layout, 13+ it will.