maven ali cloud central warehouse


Maven is really easy to use as a project management tool, but it is really annoying under the network conditions in China. Before the central warehouse of oschina was available, now the maven server of oschina is closed, and no domestic mirror has been found to replace it. Today, I found that Alibaba Cloud has published a central warehouse, and you can try it.

Configuration
Modify the setting.xml file in the conf folder under the maven root directory, the content is as follows:

  <mirrors>
    <mirror>
      <id>alimaven</id>
      <name>aliyun maven</name>
      <url>http:// maven.aliyun.com/nexus/content/groups/public/</url>
      <mirrorOf>central</mirrorOf>       
    </mirror>
  </mirrors>
After that, you can enjoy the fast maven download speed.

Guess you like

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