idea创建maven项目步骤《基于eclipse的maven项目》

1.安装SVN的同时选择安装client tool
2.安装完idea后选择license server 添加***
idea创建maven项目步骤《基于eclipse的maven项目》
3.在打开idea主页面的右下角选择configure-->setting--->version control--->subversion配置svn.exe
idea创建maven项目步骤《基于eclipse的maven项目》

4.在打开idea主页面的右下角选择configure-->setting--->editor--->file encodeings配置项目的编码格式,例如:UTF-8
idea创建maven项目步骤《基于eclipse的maven项目》

5.在打开idea主页面的右下角选择configure-->project defaults--->project structure -->sdks配置项目需要的jdk
idea创建maven项目步骤《基于eclipse的maven项目》

6.在打开idea主页面的右下角选择configure-->setting--->build,execution,deployment--->build tools-->maven配置maven路径和本地库
idea创建maven项目步骤《基于eclipse的maven项目》

7.开始加载项目,选择check out from version control-->subversion导出svn项目
idea创建maven项目步骤《基于eclipse的maven项目》
idea创建maven项目步骤《基于eclipse的maven项目》

8.选择好对应的项目后,点击checkout进入选择项目的工作空间,所创建的目录就是所创建的项目名称,然后一直点击确认
idea创建maven项目步骤《基于eclipse的maven项目》

9.导入项目后,选择view-->tool windows --> maven project 在编译器右边出现maven框,选择lifecycle--->compile进行编译
idea创建maven项目步骤《基于eclipse的maven项目》

10.项目编译后,配置服务器,选择 file-->settings--->build,execution,deployment--->application servers 点击加号,选择tomcat server
idea创建maven项目步骤《基于eclipse的maven项目》

11.点击编译框右上角的下拉框标志,添加本地tomcat
idea创建maven项目步骤《基于eclipse的maven项目》
idea创建maven项目步骤《基于eclipse的maven项目》
idea创建maven项目步骤《基于eclipse的maven项目》

12.点击项目右键,选择open module settings --->artifacts
idea创建maven项目步骤《基于eclipse的maven项目》

选择modules--->spring添加项目需要的spring配置文件
idea创建maven项目步骤《基于eclipse的maven项目》
13.点击编译右上角下拉框选项,选择edit configurations 添加artifacts
idea创建maven项目步骤《基于eclipse的maven项目》