Skip to content

Commit b2bc079

Browse files
author
Yuriy Bezsonov
committed
fix(qa-agent): Pin spring-ai to 2.0.0-M6 instead of SNAPSHOT
The samples/quality-assurance/ai-agent module was the only project pinned to spring-ai 2.0.0-SNAPSHOT. The snapshot API drifted so that OllamaChatModel.Builder.defaultOptions(OllamaChatOptions) no longer existed, breaking test compilation. Because CI builds every module on every PR, this failure surfaced on all open Dependabot PRs even though none of them touch this module. Pin to the stable 2.0.0-M6 milestone (matching the other 2.x apps) and drop the now-unused Spring snapshots repository.
1 parent 39f2469 commit b2bc079

1 file changed

Lines changed: 1 addition & 9 deletions

File tree

  • samples/quality-assurance/ai-agent

samples/quality-assurance/ai-agent/pom.xml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
</scm>
2929
<properties>
3030
<java.version>25</java.version>
31-
<spring-ai.version>2.0.0-SNAPSHOT</spring-ai.version>
31+
<spring-ai.version>2.0.0-M6</spring-ai.version>
3232
<mcp-client-security.version>0.0.3</mcp-client-security.version>
3333
<testcontainers.version>1.21.4</testcontainers.version>
3434
</properties>
@@ -38,14 +38,6 @@
3838
<name>Spring Milestones</name>
3939
<url>https://repo.spring.io/milestone</url>
4040
</repository>
41-
<repository>
42-
<id>spring-snapshots</id>
43-
<name>Spring Snapshots</name>
44-
<url>https://repo.spring.io/snapshot</url>
45-
<snapshots>
46-
<enabled>true</enabled>
47-
</snapshots>
48-
</repository>
4941
</repositories>
5042
<dependencyManagement>
5143
<dependencies>

0 commit comments

Comments
 (0)