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 03f043b45d0..51d82a7239f 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 @@ -15,15 +15,42 @@ Head on over to https://start.spring.io/[start.spring.io] and select the AI Mode [[artifact-repositories]] == Artifact Repositories -=== Milestones - Use Maven Central +=== Releases - Use Maven Central -As of 1.0.0-M6, releases are available in Maven Central. -No changes to your build file are required. +Spring AI 1.0.0 and later versions are available in Maven Central. +No additional repository configuration is required. Just make sure you have Maven Central enabled in your build file. + +[tabs] +====== +Maven:: ++ +[source,xml,indent=0,subs="verbatim,quotes"] +---- + + + + central + https://repo.maven.apache.org/maven2 + + +---- + +Gradle:: ++ +[source,groovy,indent=0,subs="verbatim,quotes"] +---- +repositories { + mavenCentral() +} +---- +====== === Snapshots - Add Snapshot Repositories -To use the Snapshot (and pre 1.0.0-M6 milestone) versions, you need to add the following snapshot repositories in your build file. +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. Add the following repository definitions to your Maven or Gradle build file: @@ -117,7 +144,7 @@ Maven:: org.springframework.ai spring-ai-bom - 1.0.0-SNAPSHOT + 1.0.0 pom import @@ -130,8 +157,8 @@ Gradle:: [source,groovy,indent=0,subs="verbatim,quotes"] ---- dependencies { - implementation platform("org.springframework.ai:spring-ai-bom:1.0.0-SNAPSHOT") - // Replace the following with the starter dependencies of specific modules you wish to use + implementation platform("org.springframework.ai:spring-ai-bom:1.0.0") + // 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 implementation 'org.springframework.ai:spring-ai-openai' } ----