Spring boot downloads slowly and configures domestic mirror sources

Right click on pom.xml

image.png

File maven options craete settings.xml

image.png

Configure one of the mirrors below to add subsequent updates

After the creation is complete, the create settings.xml option will be changed to open settings.xml and then restart the idea

 <mirrors>
     <mirror>
        <id>alimaven</id>
        <name>aliyun maven</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public/</url>
        <mirrorOf>central</mirrorOf>
      </mirror>
  </mirrors>

Guess you like

Origin juejin.im/post/7265968621145686074