This article introduces the method of using the maven jar package to use the Alibaba Cloud maven library instead. It is shared with you. The details are as follows:
Modify the setting.xml file under the conf folder in the maven installation path
<mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>*</mirrorOf> </mirror></mirrors>
The download speed will be very fast afterwards
Method 2:
Change it directly in the pom file:
<!-- Alibaba Cloud maven repository--><repository> <repository> <id>public</id> <name>aliyun nexus</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> </repository></repositories>
Add this paragraph
The above is all the content of this article. I hope it will be helpful to everyone's learning and I hope everyone will support Wulin.com more.