第一步:先安裝mvn 自行百度

第二步:打開IntelliJ IDEA中、并且打開-File-Settings

截圖

截圖

同時也可以指定mvn的配置文件

截圖

mvn配置國內鏡像方法:http://www.hillsideexecutiverealty.com/index/resource/view/id/3402.html