cd /usr/local/apache-maven-3.3.9/conf
vi settings.xml
修改如图:
之后倒入项目就完成构建了
运行:
maven build main tomcat7:run