1.选择File->Settings
2.选择Build, Execution, Deployment ->Maven ->Local repository
3.在Local repository中选择本地Maven仓库地址