首先,打开 File--Other settings--settings for new project;在other settings 中修改可以对以后的都起作用;
然后按图示,填入maven的安装目录和settings地址