Maven central repository address:

Maven central repository address:

1. http://www.sonatype.org/nexus/

2. http://mvnrepository.com/ (I recommend the repository)

3. http://repo1.maven.org/maven2

 

1. First configure the mirror node in Maven's setting.xml file and configure it as your warehouse address. This file can be divided into global and local. The global setting.xml is located in M2_HOME/conf, and the local files can be customized, such as (d:\repository\setting.xml). The
configuration is as follows:
<mirror>
<id>alimaven</id>
<name>aliyun maven </name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf> 
</mirror>
This configuration is the repository of Alibaba Cloud.
2. After the above configuration is completed, you need to configure the properties of Maven in Eclipse. Configuration method Window --> Preferences --> Maven --> User Settings. In the User Settings process, select the setting.xml file you configured above.
After completing these two steps, it is basically ok. If there is still a problem, look for Google or Du Niang!

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326220576&siteId=291194637