1. 进入目录:C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.3\plugins\maven\lib\maven3\conf
  2. 打开文件settings.xml
  3. 找到<mirrors>标签
  4. <mirrors>标签内插入如下内容
     <mirror>
      <id>alimaven</id>
      <name>aliyun maven</name>
      <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>        
    </mirror>
  1. 然后就可以看到控制台里显示在阿里的源同步maven了
    Snipaste_2019-10-23_23-04-57.png
Last modification:October 23rd, 2019 at 11:05 pm
If you think my article is useful to you, please feel free to appreciate