Modify Local Repository#
- Find the installation path of Maven and open the setting.xml file in the conf folder with Notepad or Notepad++.
 - In the opened setting.xml, find the localRepository tag and paste the address of the newly created local repository between the tags.
 
- Save the file, and the Maven local storage path will be successfully modified.
 
Modify Mirror Source#
- First, open the Maven settings file settings.xml and add the following mirror under the mirrors tag:
 
<mirror>
    <id>alimaven</id>
    <name>aliyun maven</name>
    <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
    <mirrorOf>central</mirrorOf>
</mirror>