You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2026/08/04 13:17:40 UTC

(maven) 03/04: Resolve from Central in CI, not the Google Cloud mirror

This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven.git

commit b47bcec09c3906c71a8696e6ffb763c65f5f9a32
Author: Sylwester Lachiewicz <sl...@apache.org>
AuthorDate: Tue Aug 4 12:53:10 2026 +0200

    Resolve from Central in CI, not the Google Cloud mirror
    
    The mimir session pointed dependency resolution at the same Google Cloud
    mirror the wrapper used, and that mirror lags a fresh release: rc-6
    artifacts were still 404 there days after Central served them.
    
    Commented out rather than deleted, so restoring the mirror is one line if
    its sync latency stops being a problem.
    
    Co-Authored-By: Claude Opus 5 (1M context) <no...@anthropic.com>
---
 .github/ci-mimir-session.properties | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/.github/ci-mimir-session.properties b/.github/ci-mimir-session.properties
index 26acd0f770..86f34f08b3 100644
--- a/.github/ci-mimir-session.properties
+++ b/.github/ci-mimir-session.properties
@@ -19,5 +19,9 @@
 
 # do not waste time on this; we maintain the version
 mimir.daemon.autoupdate=false
-# CI uses US Mirror
-mimir.session.mirrors=central(https://maven-central.storage-download.googleapis.com/maven2/)
\ No newline at end of file
+# CI used the Google Cloud mirror of Central, but that mirror lags a fresh
+# release: apache-maven-4.0.0-rc-6 was still a 404 there days after Central
+# served it. Resolving from Central directly is the difference between a
+# build that works on release day and one that waits for a mirror we do not
+# control.
+# mimir.session.mirrors=central(https://maven-central.storage-download.googleapis.com/maven2/)
\ No newline at end of file