1、配置maven安装路径Preferences-Maven-Installations-Add...(选择Maven安装路径)
2、配置user settings
Maven-User Settings-Browse...(选择Maven配置文件路径C:DevToolsapache-maven-3.1.1confsettings.xml),点击Update Settings-OK