Skip to content

Commit b275102

Browse files
committed
clarify no direct transtive dependnecy on spring boot
1 parent 7bb553e commit b275102

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

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

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -99,9 +99,8 @@ This configuration allows Maven to access Spring snapshot repositories directly
9999
== Dependency Management
100100

101101
The Spring AI Bill of Materials (BOM) declares the recommended versions of all the dependencies used by a given release of Spring AI.
102-
Using the BOM from your application’s build script avoids the need for you to specify and maintain the dependency versions yourself.
103-
Instead, the version of the BOM you’re using determines the utilized dependency versions.
104-
It also ensures that you’re using supported and tested versions of the dependencies by default, unless you choose to override them.
102+
This is a BOM-only version and it just contains dependency management and no plugin declarations or direct references to Spring or Spring Boot.
103+
You can use the Spring Boot parent POM, or use the BOM from Spring Boot (`spring-boot-dependencies`) to manage Spring Boot versions.
105104

106105
Add the BOM to your project:
107106

@@ -134,9 +133,9 @@ dependencies {
134133
implementation 'org.springframework.ai:spring-ai-openai'
135134
}
136135
----
137-
Gradle users can also use the Spring AI BOM by leveraging Gradle (5.0+) native support for declaring dependency constraints using a Maven BOM.
138-
This is implemented by adding a 'platform' dependency handler method to the dependencies section of your Gradle build script.
139-
As shown in the snippet below this can then be followed by version-less declarations of the Starter Dependencies for the one or more spring-ai modules you wish to use, e.g. spring-ai-openai.
136+
137+
Gradle users can also use the Spring AI BOM by leveraging Gradle (5.0+) native support for declaring dependency constraints using a Maven BOM. This is implemented by adding a 'platform' dependency handler method to the dependencies section of your Gradle build script.
138+
140139
======
141140

142141
[[add-dependencies]]

0 commit comments

Comments
 (0)