如何在IDEA中使用Maven学习笔记
一、IDEA设置
- 在IDEA中内置了Maven,但一般不使用内置Maven,因为内置Maven修改不方便
- 在IDEA中设置自己安装的maven
- (1)settings –> Bulid, Execution, Deployment –> Maven

- (2)settings –> Bulid, Execution, Deployment –> Maven –> Runner

- (3)在File –> New Project Settings –> Setting For New Projects上重新执行上面步骤

二、IDEA创建Maven项目
- (1)new Project 选择Maven项目
- 可以使用模板来创建,或者直接空白都可以

- (2)下一步

- (3)下一步

三、Maven项目介绍
- 例子:我使用了Java程序模板进行创建

- 发现与约定目录结构有点区别,可以进行补全,并可以对文件夹进行修改

- 右面的”maven”打开,可以发现生命周期,双击帮你执行操作,不需要敲命令行
