Maven builds that use the GCS maven-central mirror should update their paths

@BanzaiMan FYI - I sent you an email, but should have also posted the message here. If you could update the default settings.xml file to use the new path, I can shutdown updating the old path.

Les

Just wanted to let you know that I’ve updated the URL’s for the GCS maven mirror. The new paths should be updated 12 times / day for US, and 4 times / day for EU / Asia. (I’ll improve this in December). The existing URL’s will continue to operate for a while, but they are only being updated 1 / day and it’s a semi-manual operation.

To use add the following to your ~/.m2/settings.xml file:

Americas

<settings>
  <mirrors>
    <mirror>
      <id>gcs-maven-central</id>
      <name>Cloud Storage Maven Central</name>
      <url>https://maven-central.storage-download.googleapis.com/maven2/</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
</settings>

EU

<settings>
  <mirrors>
    <mirror>
      <id>gcs-maven-central</id>
      <name>Cloud Storage Maven Central</name>
      <url>https://maven-central-eu.storage-download.googleapis.com/maven2/</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
</settings>

Asia Pacific

<settings>
  <mirrors>
    <mirror>
      <id>gcs-maven-central</id>
      <name>Cloud Storage Maven Central</name>
      <url>https://maven-central-asia.storage-download.googleapis.com/maven2/</url>
      <mirrorOf>central</mirrorOf>
    </mirror>
  </mirrors>
</settings>

We are currently mirroring the repo 12 times a day for the Americas bucket and 4 times to EU & Asia.

The mirror is created using the Storage Transfer Service. It
is currently hosted in a Google Cloud Storage
Multi-Regional storage bucket in the US.

If you have questions or issues, the maintainers may be reached at: gcs-maven-mirror@googlegroups.com

2 Likes

Hi, @lesv, thanks for the update. We’ve updated the mirror URL to the value indicated.

1 Like
Imprint