1.IDEA comes maven path
Find the installation path idea, and then locate \ plugins \ maven \ lib path, there maven2 and maven3
2. Modify the position maven local repository
Settings.xml find the path, and open
at the approximate location of 50 lines will <localRepository>/path/to/local/repo</localRepository>
remove comments, or remove the comment, change the path to the location maven local repository own settings and save.
3. Configure Ali cloud central warehouse
In the approximate location of the line 150, the <mirrors>
add under the label
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
Save've modified.
4. Configuration of IDEA maven
Set to open
later configured click OK!