idea集成maven
第一步 打开setting
第二步 打开build Execution Deloyment 下的buid tools
第三步 打开maven 在maven home directory 选定本地安装的maven
第四步 点击第一个override 然后将maven home directory中地址的conf文件夹下的setting.xml选中 然后点击第二个override 系统自动找到maven本地仓库
第五步 点击左边的maven下的runner 找到其中的 VM options 输入 -DarchetypeCatalog=internal 功能是系统可以使用之前从网络下载到本地的插件 防止没网了无法创建 工程
第六步 保存退出