Maven Central Warehouse, originally have Oschina can use, now off. It seems to be possible to find Alibaba cloud recently. The configuration 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>
or add it directly to the repositories:
<repositories>
<repository>
<id>aliyunmaven</id>
<url>http:// maven.aliyun.com/nexus/content/groups/public/</url>
</repository>
</repositories>
You can enjoy the download speed of the general flight.
The original MAVEN address should be:
http://repo1.maven.org/maven2/
There is another: http://central.maven.org/maven2/
But it was too slow.
Inside the Gradle is configured as follows:
repositories {
//MAVEN library
def CN = "http://maven.aliyun.com/nexus/content/groups/public/"
def abroad = " http://central.maven.org/maven2/"
//First download jar from URL if not found, look for
maven {
URL cn
in Artifacturls Artifacturls Abroad
}
}