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