Skip to content

Commit f5a50bb

Browse files
committed
switch to Spring AI BOM
1 parent 0f5842a commit f5a50bb

File tree

3 files changed

+16
-10
lines changed

3 files changed

+16
-10
lines changed

foundation-models/openai/pom.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,11 @@
9797
<groupId>com.google.guava</groupId>
9898
<artifactId>guava</artifactId>
9999
</dependency>
100+
<dependency>
101+
<groupId>org.springframework.ai</groupId>
102+
<artifactId>spring-ai-commons</artifactId>
103+
<optional>true</optional>
104+
</dependency>
100105
<dependency>
101106
<groupId>org.springframework.ai</groupId>
102107
<artifactId>spring-ai-model</artifactId>

pom.xml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,13 @@
106106
<type>pom</type>
107107
<scope>import</scope>
108108
</dependency>
109+
<dependency>
110+
<groupId>org.springframework.ai</groupId>
111+
<artifactId>spring-ai-bom</artifactId>
112+
<version>${spring-ai.version}</version>
113+
<type>pom</type>
114+
<scope>import</scope>
115+
</dependency>
109116
<!-- scope "compile" -->
110117
<dependency>
111118
<groupId>org.springframework</groupId>
@@ -117,16 +124,6 @@
117124
<artifactId>spring-web</artifactId>
118125
<version>${springframework.version}</version>
119126
</dependency>
120-
<dependency>
121-
<groupId>org.springframework.ai</groupId>
122-
<artifactId>spring-ai-model</artifactId>
123-
<version>${spring-ai.version}</version>
124-
</dependency>
125-
<dependency>
126-
<groupId>org.springframework.ai</groupId>
127-
<artifactId>spring-ai-client-chat</artifactId>
128-
<version>${spring-ai.version}</version>
129-
</dependency>
130127
<dependency>
131128
<groupId>io.projectreactor</groupId>
132129
<artifactId>reactor-core</artifactId>

sample-code/spring-app/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,10 @@
9595
<groupId>com.sap.cloud.sdk.datamodel</groupId>
9696
<artifactId>openapi-core</artifactId>
9797
</dependency>
98+
<dependency>
99+
<groupId>org.springframework.ai</groupId>
100+
<artifactId>spring-ai-commons</artifactId>
101+
</dependency>
98102
<dependency>
99103
<groupId>org.springframework.ai</groupId>
100104
<artifactId>spring-ai-model</artifactId>

0 commit comments

Comments
 (0)