Skip to content

Commit 45de6c7

Browse files
authored
docs: update getting-started.adoc for 1.0.0 release (#3920)
Signed-off-by: Nahyun Kim <[email protected]>
1 parent dcaee54 commit 45de6c7

File tree

1 file changed

+34
-7
lines changed

1 file changed

+34
-7
lines changed

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

Lines changed: 34 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,42 @@ Head on over to https://start.spring.io/[start.spring.io] and select the AI Mode
1515
[[artifact-repositories]]
1616
== Artifact Repositories
1717

18-
=== Milestones - Use Maven Central
18+
=== Releases - Use Maven Central
1919

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+
======
2249

2350

2451
=== Snapshots - Add Snapshot Repositories
2552

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.
2754

2855
Add the following repository definitions to your Maven or Gradle build file:
2956

@@ -117,7 +144,7 @@ Maven::
117144
<dependency>
118145
<groupId>org.springframework.ai</groupId>
119146
<artifactId>spring-ai-bom</artifactId>
120-
<version>1.0.0-SNAPSHOT</version>
147+
<version>1.0.0</version>
121148
<type>pom</type>
122149
<scope>import</scope>
123150
</dependency>
@@ -130,8 +157,8 @@ Gradle::
130157
[source,groovy,indent=0,subs="verbatim,quotes"]
131158
----
132159
dependencies {
133-
implementation platform("org.springframework.ai:spring-ai-bom:1.0.0-SNAPSHOT")
134-
// Replace the following with the starter dependencies of specific modules you wish to use
160+
implementation platform("org.springframework.ai:spring-ai-bom:1.0.0")
161+
// 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
135162
implementation 'org.springframework.ai:spring-ai-openai'
136163
}
137164
----

0 commit comments

Comments
 (0)