Google Central
Published:
, Updated:
Talks about:
<a class="post-tag post-tag-google" href="/tags/google">google</a>, <a class="post-tag post-tag-maven" href="/tags/maven">maven</a>, and <a class="post-tag post-tag-repository" href="/tags/repository">repository</a>
Some time ago, Google started hosting a copy of Maven Central. Configure it in your ~/.m2/settings.xml
like this:
<settings>
<mirrors>
<mirror>
<id>google-maven-central</id>
<name>Google Maven Central (Asia)</name>
<url>https://maven-central-asia.storage-download.googleapis.com/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>google-maven-central</id>
<name>Google Maven Central (EU)</name>
<url>https://maven-central-eu.storage-download.googleapis.com/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>google-maven-central</id>
<name>Google Maven Central (US)</name>
<url>https://maven-central.storage-download.googleapis.com/maven2/</url>
<mirrorOf>central</mirrorOf>
</mirror>
</mirrors>
</settings>
Pick the mirror nearest to your location to get best speeds.