You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-ai-docs/src/main/antora/modules/ROOT/pages/getting-started.adoc
+34-7Lines changed: 34 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,15 +15,42 @@ Head on over to https://start.spring.io/[start.spring.io] and select the AI Mode
15
15
[[artifact-repositories]]
16
16
== Artifact Repositories
17
17
18
-
=== Milestones - Use Maven Central
18
+
=== Releases - Use Maven Central
19
19
20
-
As of 1.0.0-M6, releases are available in Maven Central.
21
-
No changes to your build file are required.
20
+
Spring AI 1.0.0 and later versions are available in Maven Central.
21
+
No additional repository configuration is required. Just make sure you have Maven Central enabled in your build file.
22
+
23
+
[tabs]
24
+
======
25
+
Maven::
26
+
+
27
+
[source,xml,indent=0,subs="verbatim,quotes"]
28
+
----
29
+
<!-- Maven Central is included by default in Maven builds.
30
+
You usually don’t need to configure it explicitly,
31
+
but it's shown here for clarity. -->
32
+
<repositories>
33
+
<repository>
34
+
<id>central</id>
35
+
<url>https://repo.maven.apache.org/maven2</url>
36
+
</repository>
37
+
</repositories>
38
+
----
39
+
40
+
Gradle::
41
+
+
42
+
[source,groovy,indent=0,subs="verbatim,quotes"]
43
+
----
44
+
repositories {
45
+
mavenCentral()
46
+
}
47
+
----
48
+
======
22
49
23
50
24
51
=== Snapshots - Add Snapshot Repositories
25
52
26
-
To use the Snapshot (and pre 1.0.0-M6 milestone) versions, you need to add the following snapshot repositories in your build file.
53
+
To use the latest development versions (e.g. `1.1.0-SNAPSHOT`) or older milestone versions before 1.0.0, you need to add the following snapshot repositories in your build file.
27
54
28
55
Add the following repository definitions to your Maven or Gradle build file:
// Replace the following with the specific module dependencies (e.g., spring-ai-openai) or starter modules (e.g., spring-ai-starter-model-openai) that you wish to use
0 commit comments