article about a full mirror for Maven Central provided by Google. I decided to give it a try and put the following mirror in my $HOME/.m2/settings.xml:

"> article about a full mirror for Maven Central provided by Google. I decided to give it a try and put the following mirror in my $HOME/.m2/settings.xml:

"> article about a full mirror for Maven Central provided by Google. I decided to give it a try and put the following mirror in my $HOME/.m2/settings.xml:

" />
KOPIS.DE

Auf diesen Seiten findest Du die Projekte und Blogposts von Carsten Ringe.

Using Googles mirror for Maven Central

30 October 2015

Today I stumbled upon an interesting article about a full mirror for Maven Central provided by Google. I decided to give it a try and put the following mirror in my $HOME/.m2/settings.xml:

<settings>
  ...
  <mirrors>
    <mirror>
      <id>google-maven-central</id>
      <name>Google Maven Central</name>
      <url>https://maven-central.storage.googleapis.com</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
</settings>

After that I deleted my local repository:

rm -rf ~/.m2/repository

So for the next couple of weeks I’ll be using the new mirror. :smile: