Anyone who has used the maven warehouse knows how sad it is in China. Fortunately, there are relatively easy-to-use mirrors that can be used, and record them as soon as possible. 100 times faster.
http://maven.aliyun.com/nexus/#view-repositories;public~browsestorage
Configure the child nodes of mirrors in maven's settings.xml file and add the following mirrors
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>central</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>