IDEA default setting domestic maven mirror

IDEA maven find the installation directory under \ lib \ maven3 \ setting file under conf, adding to file domestic Ali mirrored configuration code

My list is as follows
D:\Program Files\ideaIU-2019.2.2\plugins\maven\lib\maven3\conf
modify Ali mirror image, find the tag in the configuration file in the configuration file <mirrors> </mirrors>, add the following code, and then save it.

<mirror>  
   <id>nexus-aliyun</id>  
   <mirrorOf>central</mirrorOf>    
   <name>Nexus aliyun</name> <url>http://maven.aliyun.com/nexus/content/groups/public</url>  
    </mirror>
Published 10 original articles · won praise 7 · views 2311

Guess you like

Origin blog.csdn.net/weixin_43142423/article/details/104620831