Maven Domestic download site

Source: Internet
Author: User
Tags maven central

For some reason, the download dependency package from the MAVEN Central warehouse is plagued by a variety of tortures, and here's a quick look at some of the simple configurations of Maven Setting.xml

First, several domestic MAVEN repository connections are available:

http://maven.oschina.net/content/groups/public/

http://maven.oschina.net/content/repositories/thirdparty/

http://maven.ibiblio.org/maven2/

http://repository.jboss.org/nexus/content/repositories/root_repository/maven2/

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

http://repository.sonatype.org/content/groups/public/

http://repository.jboss.com/maven2/

About the configuration of the Setting.xml:

1, the local warehouse configuration

< localrepository > E:\.m2\repository</localrepository>

2, the Agent warehouse, mirror configuration:

<Mirrors>    <Mirror>        <ID>Nexus-osc</ID>        <mirrorof>*</mirrorof>        <name>Nexus OSC</name>        <URL>http://maven.oschina.net/content/groups/public/</URL>    </Mirror>    <Mirror>        <ID>Nexus-osc-thirdparty</ID>        <mirrorof>ThirdParty</mirrorof>        <name>Nexus OSC ThirdParty</name>        <URL>http://maven.oschina.net/content/repositories/thirdparty/</URL>    </Mirror>        <Mirror>        <ID>Nexus-ibiblio</ID>        <mirrorof>*</mirrorof>        <name>Nexus Ibiblio</name>        <URL>http://maven.ibiblio.org/maven2/</URL>    </Mirror>  </Mirrors>

3, the Maven plugin download warehouse configuration

<Profiles>    < Profile>        <ID>jdk-1.4</ID>                <activation>            <JDK>1.4</JDK>        </activation>                <repositories>            <Repository>                <ID>Nexus</ID>                <name>Local private Nexus</name>                <URL>http://maven.oschina.net/content/groups/public/</URL>                <releases>                    <enabled>True</enabled>                </releases>                <Snapshots>                    <enabled>False</enabled>                </Snapshots>            </Repository>        </repositories>                <pluginrepositories>            <pluginrepository>            <ID>Nexus</ID>            <name>Local private Nexus</name>            <URL>http://maven.oschina.net/content/groups/public/</URL>            <releases>                <enabled>True</enabled>            </releases>            <Snapshots>                <enabled>False</enabled>            </Snapshots>            </pluginrepository>        </pluginrepositories>    </ Profile></Profiles>

For the configuration of Maven Setting.xml, you can refer to the following connection for further information

http://my.oschina.net/sunchp/blog/100634

Http://maven.oschina.net/help.html

http://maven.apache.org/repository/

Maven Domestic download site

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.