From ffd8f1fa6fc965a8ded742c36fe22cac886360c7 Mon Sep 17 00:00:00 2001 From: shishuiwuhen2009 <90782280+shishuiwuhen2009@users.noreply.github.com> Date: Mon, 28 Apr 2025 18:07:44 +0800 Subject: [PATCH] Update getting-started.adoc (#2880) Add documentation about Maven mirror configuration when using Spring AI snapshots, including examples of correct mirrorOf settings to allow access to Spring repositories. Signed-off-by: shishuiwuhen2009 <90782280+shishuiwuhen2009@users.noreply.github.com> --- .../main/antora/modules/ROOT/pages/getting-started.adoc | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/spring-ai-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc b/spring-ai-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc index 2cf86a61f..e4f2f4391 100644 --- a/spring-ai-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc +++ b/spring-ai-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc @@ -70,6 +70,13 @@ repositories { } } ---- +**NOTE:** If you're using Maven mirror settings (typically in `settings.xml`), ensure your `` configuration excludes Spring repositories: +```xml + + *,!spring-snapshots,!central-portal-snapshots + + +``` ====== [[dependency-management]]