Quickly use the Aliyun maven warehouse

Source: Internet
Author: User
Tags aliyun

Since the open source China's MAVEN warehouse has been in the use of foreign warehouses, slow to hit the computer's heart has. If you're as tired as I am. The turtle speed download of the foreign Maven warehouse. Try the Maven warehouse provided by Aliyun and never waste life ...

Warehouse Address: http://maven.aliyun.com/nexus/#view-repositories;public~browsestorage

Warehouse Configuration

In the mirrors node of MAVEN's Settings.xml file, add the following child nodes:

<mirror>  
    <id>nexus-aliyun</id>  
    <mirrorOf>central</mirrorOf>    
    <name >nexus aliyun</name>  
    <url>http://maven.aliyun.com/nexus/content/groups/public</url>  

or directly at the profiles->profile->repositories node, add the following child nodes:

<repository>
    <id>nexus-aliyun</id>
    <name>nexus aliyun</name>
    < Layout>default</layout>
    <url>http://maven.aliyun.com/nexus/content/groups/public</url >
    <snapshots>
        <enabled>false</enabled>
    </snapshots>
    <releases >
        <enabled>true</enabled>
    </releases>
</repository>

path to the settings file

Settings.xml's default path is: Personal directory/.m2/settings.xml

Such as:

Windowns:c:\users\ your username \.m2\settings.xml

Linux:/home/your username/.m2/settings.xml

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.