Google Central View article history Edit article

Published: , Updated:
Talks about: , , and

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.