Skip to content

Commit e754415

Browse files
committed
Apply the changes from the Fix made by Chroma & Spring AI Team spring-projects/spring-ai#4571
1 parent 40bb063 commit e754415

File tree

1 file changed

+81
-63
lines changed

1 file changed

+81
-63
lines changed

pom.xml

Lines changed: 81 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,43 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4-
<modelVersion>4.0.0</modelVersion>
5-
<parent>
6-
<groupId>org.springframework.boot</groupId>
7-
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>3.5.7</version>
9-
<relativePath/> <!-- lookup parent from repository -->
10-
</parent>
11-
<groupId>io.jayaprabahar.ai</groupId>
12-
<artifactId>agentic-rag</artifactId>
13-
<version>0.0.1-SNAPSHOT</version>
14-
<name>agentic-ai</name>
15-
<description>Agentic AI project for Spring Boot</description>
16-
<url/>
17-
<licenses>
18-
<license/>
19-
</licenses>
20-
<developers>
21-
<developer/>
22-
</developers>
23-
<scm>
24-
<connection/>
25-
<developerConnection/>
26-
<tag/>
27-
<url/>
28-
</scm>
29-
<properties>
30-
<java.version>21</java.version>
31-
<spring-ai.version>1.0.1</spring-ai.version>
32-
</properties>
33-
<dependencies>
34-
<dependency>
35-
<groupId>org.springframework.boot</groupId>
36-
<artifactId>spring-boot-starter-web</artifactId>
37-
</dependency>
38-
<dependency>
39-
<groupId>org.springframework.ai</groupId>
40-
<artifactId>spring-ai-starter-model-openai</artifactId>
41-
</dependency>
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
4+
<modelVersion>4.0.0</modelVersion>
5+
<parent>
6+
<groupId>org.springframework.boot</groupId>
7+
<artifactId>spring-boot-starter-parent</artifactId>
8+
<version>3.5.7</version>
9+
<relativePath/> <!-- lookup parent from repository -->
10+
</parent>
11+
<groupId>io.jayaprabahar.ai</groupId>
12+
<artifactId>agentic-rag</artifactId>
13+
<version>0.0.1-SNAPSHOT</version>
14+
<name>agentic-ai</name>
15+
<description>Agentic AI project for Spring Boot</description>
16+
<url/>
17+
<licenses>
18+
<license/>
19+
</licenses>
20+
<developers>
21+
<developer/>
22+
</developers>
23+
<scm>
24+
<connection/>
25+
<developerConnection/>
26+
<tag/>
27+
<url/>
28+
</scm>
29+
<properties>
30+
<java.version>21</java.version>
31+
<spring-ai.version>1.1.0-SNAPSHOT</spring-ai.version>
32+
</properties>
33+
<dependencies>
4234
<dependency>
43-
<groupId>com.openai</groupId>
44-
<artifactId>openai-java-spring-boot-starter</artifactId>
45-
<version>4.6.1</version>
35+
<groupId>org.springframework.boot</groupId>
36+
<artifactId>spring-boot-starter-web</artifactId>
37+
</dependency>
38+
<dependency>
39+
<groupId>org.springframework.ai</groupId>
40+
<artifactId>spring-ai-starter-model-openai</artifactId>
4641
</dependency>
4742
<dependency>
4843
<groupId>org.springframework.ai</groupId>
@@ -53,10 +48,11 @@
5348
<groupId>org.springframework.ai</groupId>
5449
<artifactId>spring-ai-advisors-vector-store</artifactId>
5550
</dependency>
56-
<dependency>
57-
<groupId>org.springframework.ai</groupId>
58-
<artifactId>spring-ai-starter-vector-store-chroma</artifactId>
59-
</dependency>
51+
<!-- Build locally from https://github.com/spring-projects/spring-ai as 1.1.0-SNAPSHOT is not pushed into registry-->
52+
<dependency>
53+
<groupId>org.springframework.ai</groupId>
54+
<artifactId>spring-ai-starter-vector-store-chroma</artifactId>
55+
</dependency>
6056
<dependency>
6157
<groupId>org.springframework.boot</groupId>
6258
<artifactId>spring-boot-starter-actuator</artifactId>
@@ -67,29 +63,29 @@
6763
<version>3.1.1</version>
6864
</dependency>
6965

70-
<dependency>
71-
<groupId>org.springframework.boot</groupId>
72-
<artifactId>spring-boot-starter-test</artifactId>
73-
<scope>test</scope>
74-
</dependency>
66+
<dependency>
67+
<groupId>org.springframework.boot</groupId>
68+
<artifactId>spring-boot-starter-test</artifactId>
69+
<scope>test</scope>
70+
</dependency>
7571
<dependency>
7672
<groupId>org.projectlombok</groupId>
7773
<artifactId>lombok</artifactId>
7874
<optional>true</optional>
7975
</dependency>
80-
</dependencies>
76+
</dependencies>
8177

82-
<dependencyManagement>
83-
<dependencies>
84-
<dependency>
85-
<groupId>org.springframework.ai</groupId>
86-
<artifactId>spring-ai-bom</artifactId>
87-
<version>${spring-ai.version}</version>
88-
<type>pom</type>
89-
<scope>import</scope>
90-
</dependency>
91-
</dependencies>
92-
</dependencyManagement>
78+
<dependencyManagement>
79+
<dependencies>
80+
<dependency>
81+
<groupId>org.springframework.ai</groupId>
82+
<artifactId>spring-ai-bom</artifactId>
83+
<version>${spring-ai.version}</version>
84+
<type>pom</type>
85+
<scope>import</scope>
86+
</dependency>
87+
</dependencies>
88+
</dependencyManagement>
9389

9490
<build>
9591
<plugins>
@@ -120,4 +116,26 @@
120116
</plugins>
121117
</build>
122118

119+
<repositories>
120+
<repository>
121+
<id>spring-snapshots</id>
122+
<name>Spring Snapshots</name>
123+
<url>https://repo.spring.io/snapshot</url>
124+
<releases>
125+
<enabled>false</enabled>
126+
</releases>
127+
</repository>
128+
<repository>
129+
<id>central</id>
130+
<name>Maven Central Repository</name>
131+
<url>https://repo.maven.apache.org/maven2</url>
132+
<releases>
133+
<enabled>true</enabled>
134+
</releases>
135+
<snapshots>
136+
<enabled>false</enabled>
137+
</snapshots>
138+
</repository>
139+
</repositories>
140+
123141
</project>

0 commit comments

Comments
 (0)