Transfer: http://blog.java1234.com/blog/articles/252.html
Everyone knows that the speed of downloading things from the Maven central warehouse abroad is fast;
Here is the best domestic Maven image Alibaba Cloud Maven image;
Just configure setting.xml;
<mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> </mirrors>
|
Try it. . Will it feel like a shotgun for a cannon?
Some people can't find the settingg address:
We open eclipse then windows-Preferences
Then Maven - User Settings
Here is the configuration file address, if there is no such file, copy one from the maven download package;