Skip to content

Commit ffd8f1f

Browse files
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 <[email protected]>
1 parent c95d5c0 commit ffd8f1f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

spring-ai-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,13 @@ repositories {
7070
}
7171
}
7272
----
73+
**NOTE:** If you're using Maven mirror settings (typically in `settings.xml`), ensure your `<mirrorOf>` configuration excludes Spring repositories:
74+
```xml
75+
<mirror>
76+
<mirrorOf>*,!spring-snapshots,!central-portal-snapshots</mirrorOf>
77+
<!-- other mirror configurations -->
78+
</mirror>
79+
```
7380
======
7481

7582
[[dependency-management]]

0 commit comments

Comments
 (0)