Skip to content

Commit 7e04dc2

Browse files
authored
Update Spring AI dependencies to 1.0.0-SNAPSHOT (#21)
- Update Spring AI version from 1.0.0-M5 to 1.0.0-SNAPSHOT across all modules - Update artifact IDs to match new naming convention (spring-ai-*-spring-boot-starter → spring-ai-starter-model-*) - Add central-portal-snapshots repository to all projects for SNAPSHOT dependency resolution - Standardize repository URLs to use repo.spring.io/milestone instead of libs-milestone-local - Remove the obsolete spring-ai-core dependency in Kotlin modules - Update QuestionAnswerAdvisor import path in rag-with-kotlin - Reorganize root POM module ordering for better organization Signed-off-by: Soby Chacko <[email protected]>
1 parent 804d3aa commit 7e04dc2

File tree

29 files changed

+362
-201
lines changed

29 files changed

+362
-201
lines changed

agentic-patterns/chain-workflow/pom.xml

+15-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description>Demo project for Spring Boot</description>
1717
<properties>
1818
<java.version>17</java.version>
19-
<spring-ai.version>1.0.0-M5</spring-ai.version>
19+
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
2020
</properties>
2121
<dependencies>
2222
<dependency>
@@ -27,17 +27,17 @@
2727

2828
<!-- <dependency>
2929
<groupId>org.springframework.ai</groupId>
30-
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
30+
<artifactId>spring-ai-starter-model-openai</artifactId>
3131
</dependency> -->
3232

3333
<dependency>
3434
<groupId>org.springframework.ai</groupId>
35-
<artifactId>spring-ai-anthropic-spring-boot-starter</artifactId>
35+
<artifactId>spring-ai-starter-model-anthropic</artifactId>
3636
</dependency>
3737

3838
<!-- <dependency>
3939
<groupId>org.springframework.ai</groupId>
40-
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
40+
<artifactId>spring-ai-starter-model-ollama</artifactId>
4141
</dependency> -->
4242

4343
<dependency>
@@ -76,6 +76,17 @@
7676
<enabled>false</enabled>
7777
</snapshots>
7878
</repository>
79+
<repository>
80+
<id>central-portal-snapshots</id>
81+
<name>Central Portal Snapshots</name>
82+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
83+
<releases>
84+
<enabled>false</enabled>
85+
</releases>
86+
<snapshots>
87+
<enabled>true</enabled>
88+
</snapshots>
89+
</repository>
7990
</repositories>
8091

8192
</project>

agentic-patterns/evaluator-optimizer/pom.xml

+15-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description>Demo project for Spring Boot</description>
1717
<properties>
1818
<java.version>17</java.version>
19-
<spring-ai.version>1.0.0-M5</spring-ai.version>
19+
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
2020
</properties>
2121
<dependencies>
2222
<dependency>
@@ -27,18 +27,18 @@
2727

2828
<!-- <dependency>
2929
<groupId>org.springframework.ai</groupId>
30-
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
30+
<artifactId>spring-ai-starter-model-openai</artifactId>
3131
</dependency> -->
3232

3333
<dependency>
3434
<groupId>org.springframework.ai</groupId>
35-
<artifactId>spring-ai-anthropic-spring-boot-starter</artifactId>
35+
<artifactId>spring-ai-starter-model-anthropic</artifactId>
3636
</dependency>
3737

3838

3939
<!-- <dependency>
4040
<groupId>org.springframework.ai</groupId>
41-
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
41+
<artifactId>spring-ai-starter-model-ollama</artifactId>
4242
</dependency> -->
4343

4444
<dependency>
@@ -77,6 +77,17 @@
7777
<enabled>false</enabled>
7878
</snapshots>
7979
</repository>
80+
<repository>
81+
<id>central-portal-snapshots</id>
82+
<name>Central Portal Snapshots</name>
83+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
84+
<releases>
85+
<enabled>false</enabled>
86+
</releases>
87+
<snapshots>
88+
<enabled>true</enabled>
89+
</snapshots>
90+
</repository>
8091
</repositories>
8192

8293
</project>

agentic-patterns/orchestrator-workers/pom.xml

+15-4
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
<description>Demo project for Spring Boot</description>
1717
<properties>
1818
<java.version>17</java.version>
19-
<spring-ai.version>1.0.0-M5</spring-ai.version>
19+
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
2020
</properties>
2121
<dependencies>
2222
<dependency>
@@ -27,17 +27,17 @@
2727

2828
<!-- <dependency>
2929
<groupId>org.springframework.ai</groupId>
30-
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
30+
<artifactId>spring-ai-starter-model-openai</artifactId>
3131
</dependency> -->
3232

3333
<dependency>
3434
<groupId>org.springframework.ai</groupId>
35-
<artifactId>spring-ai-anthropic-spring-boot-starter</artifactId>
35+
<artifactId>spring-ai-starter-model-anthropic</artifactId>
3636
</dependency>
3737

3838
<!-- <dependency>
3939
<groupId>org.springframework.ai</groupId>
40-
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
40+
<artifactId>spring-ai-starter-model-ollama</artifactId>
4141
</dependency> -->
4242

4343
<dependency>
@@ -76,6 +76,17 @@
7676
<enabled>false</enabled>
7777
</snapshots>
7878
</repository>
79+
<repository>
80+
<id>central-portal-snapshots</id>
81+
<name>Central Portal Snapshots</name>
82+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
83+
<releases>
84+
<enabled>false</enabled>
85+
</releases>
86+
<snapshots>
87+
<enabled>true</enabled>
88+
</snapshots>
89+
</repository>
7990
</repositories>
8091

8192
</project>

agentic-patterns/parallelization-worflow/pom.xml

+15-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<properties>
2121
<java.version>17</java.version>
22-
<spring-ai.version>1.0.0-M5</spring-ai.version>
22+
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
2323
</properties>
2424

2525
<dependencies>
@@ -31,17 +31,17 @@
3131

3232
<!-- <dependency>
3333
<groupId>org.springframework.ai</groupId>
34-
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
34+
<artifactId>spring-ai-starter-model-openai</artifactId>
3535
</dependency> -->
3636

3737
<dependency>
3838
<groupId>org.springframework.ai</groupId>
39-
<artifactId>spring-ai-anthropic-spring-boot-starter</artifactId>
39+
<artifactId>spring-ai-starter-model-anthropic</artifactId>
4040
</dependency>
4141

4242
<!-- <dependency>
4343
<groupId>org.springframework.ai</groupId>
44-
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
44+
<artifactId>spring-ai-starter-model-ollama</artifactId>
4545
</dependency> -->
4646

4747
<dependency>
@@ -80,6 +80,17 @@
8080
<enabled>false</enabled>
8181
</snapshots>
8282
</repository>
83+
<repository>
84+
<id>central-portal-snapshots</id>
85+
<name>Central Portal Snapshots</name>
86+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
87+
<releases>
88+
<enabled>false</enabled>
89+
</releases>
90+
<snapshots>
91+
<enabled>true</enabled>
92+
</snapshots>
93+
</repository>
8394
</repositories>
8495

8596
</project>

agentic-patterns/routing-workflow/pom.xml

+15-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
<properties>
2121
<java.version>17</java.version>
22-
<spring-ai.version>1.0.0-M5</spring-ai.version>
22+
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
2323
</properties>
2424

2525
<dependencies>
@@ -32,17 +32,17 @@
3232

3333
<!-- <dependency>
3434
<groupId>org.springframework.ai</groupId>
35-
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
35+
<artifactId>spring-ai-starter-model-openai</artifactId>
3636
</dependency> -->
3737

3838
<dependency>
3939
<groupId>org.springframework.ai</groupId>
40-
<artifactId>spring-ai-anthropic-spring-boot-starter</artifactId>
40+
<artifactId>spring-ai-starter-model-anthropic</artifactId>
4141
</dependency>
4242

4343
<!-- <dependency>
4444
<groupId>org.springframework.ai</groupId>
45-
<artifactId>spring-ai-ollama-spring-boot-starter</artifactId>
45+
<artifactId>spring-ai-starter-model-ollama</artifactId>
4646
</dependency> -->
4747

4848
<dependency>
@@ -81,6 +81,17 @@
8181
<enabled>false</enabled>
8282
</snapshots>
8383
</repository>
84+
<repository>
85+
<id>central-portal-snapshots</id>
86+
<name>Central Portal Snapshots</name>
87+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
88+
<releases>
89+
<enabled>false</enabled>
90+
</releases>
91+
<snapshots>
92+
<enabled>true</enabled>
93+
</snapshots>
94+
</repository>
8495
</repositories>
8596

8697
</project>

agents/reflection/pom.xml

+13-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<dependency>
2323
<groupId>org.springframework.ai</groupId>
2424
<artifactId>spring-ai-bom</artifactId>
25-
<version>1.0.0-M5</version>
25+
<version>1.0.0-SNAPSHOT</version>
2626
<type>pom</type>
2727
<scope>import</scope>
2828
</dependency>
@@ -42,7 +42,7 @@
4242

4343
<dependency>
4444
<groupId>org.springframework.ai</groupId>
45-
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
45+
<artifactId>spring-ai-starter-model-openai</artifactId>
4646
</dependency>
4747

4848
<dependency>
@@ -78,6 +78,17 @@
7878
<enabled>false</enabled>
7979
</releases>
8080
</repository>
81+
<repository>
82+
<id>central-portal-snapshots</id>
83+
<name>Central Portal Snapshots</name>
84+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
85+
<releases>
86+
<enabled>false</enabled>
87+
</releases>
88+
<snapshots>
89+
<enabled>true</enabled>
90+
</snapshots>
91+
</repository>
8192
</repositories>
8293

8394

kotlin/kotlin-function-callback/pom.xml

+13-6
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<properties>
3030
<java.version>17</java.version>
3131
<kotlin.version>1.9.25</kotlin.version>
32-
<spring-ai.version>1.0.0-M5</spring-ai.version>
32+
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
3333
</properties>
3434
<dependencies>
3535
<dependency>
@@ -42,13 +42,9 @@
4242
</dependency>
4343
<dependency>
4444
<groupId>org.springframework.ai</groupId>
45-
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
45+
<artifactId>spring-ai-starter-model-openai</artifactId>
4646
</dependency>
4747

48-
<dependency>
49-
<groupId>org.springframework.ai</groupId>
50-
<artifactId>spring-ai-core</artifactId>
51-
</dependency>
5248
<dependency>
5349
<groupId>org.springframework.boot</groupId>
5450
<artifactId>spring-boot-starter-web</artifactId>
@@ -122,6 +118,17 @@
122118
<enabled>false</enabled>
123119
</snapshots>
124120
</repository>
121+
<repository>
122+
<id>central-portal-snapshots</id>
123+
<name>Central Portal Snapshots</name>
124+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
125+
<releases>
126+
<enabled>false</enabled>
127+
</releases>
128+
<snapshots>
129+
<enabled>true</enabled>
130+
</snapshots>
131+
</repository>
125132
</repositories>
126133
<pluginRepositories>
127134
<pluginRepository>

kotlin/kotlin-hello-world/pom.xml

+14-7
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
<properties>
3030
<java.version>17</java.version>
3131
<kotlin.version>1.9.25</kotlin.version>
32-
<spring-ai.version>1.0.0-M5</spring-ai.version>
32+
<spring-ai.version>1.0.0-SNAPSHOT</spring-ai.version>
3333
</properties>
3434
<dependencies>
3535
<dependency>
@@ -42,13 +42,9 @@
4242
</dependency>
4343
<dependency>
4444
<groupId>org.springframework.ai</groupId>
45-
<artifactId>spring-ai-openai-spring-boot-starter</artifactId>
45+
<artifactId>spring-ai-starter-model-openai</artifactId>
4646
</dependency>
4747

48-
<dependency>
49-
<groupId>org.springframework.ai</groupId>
50-
<artifactId>spring-ai-core</artifactId>
51-
</dependency>
5248
<dependency>
5349
<groupId>org.springframework.boot</groupId>
5450
<artifactId>spring-boot-starter-web</artifactId>
@@ -69,7 +65,7 @@
6965
<dependency>
7066
<groupId>org.springframework.ai</groupId>
7167
<artifactId>spring-ai-bom</artifactId>
72-
<version>1.0.0-M5</version>
68+
<version>1.0.0-SNAPSHOT</version>
7369
<type>pom</type>
7470
<scope>import</scope>
7571
</dependency>
@@ -122,6 +118,17 @@
122118
<enabled>false</enabled>
123119
</snapshots>
124120
</repository>
121+
<repository>
122+
<id>central-portal-snapshots</id>
123+
<name>Central Portal Snapshots</name>
124+
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
125+
<releases>
126+
<enabled>false</enabled>
127+
</releases>
128+
<snapshots>
129+
<enabled>true</enabled>
130+
</snapshots>
131+
</repository>
125132
</repositories>
126133
<pluginRepositories>
127134
<pluginRepository>

0 commit comments

Comments
 (0)