Skip to content

Commit 512ae89

Browse files
eddumelendezspring-builds
authored andcommitted
Make auto-configuration deps optional in docker compose module (#3502)
Currently, spring-ai-spring-boot-docker-compose module brings auto-configuration modules plus other dependencies which are unnecessary. Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com> (cherry picked from commit 825bcf6)
1 parent 8053ae3 commit 512ae89

File tree

1 file changed

+6
-0
lines changed
  • spring-ai-spring-boot-docker-compose

1 file changed

+6
-0
lines changed

spring-ai-spring-boot-docker-compose/pom.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,32 +47,38 @@
4747
<groupId>org.springframework.ai</groupId>
4848
<artifactId>spring-ai-autoconfigure-vector-store-opensearch</artifactId>
4949
<version>${project.parent.version}</version>
50+
<optional>true</optional>
5051
</dependency>
5152
<dependency>
5253
<groupId>org.springframework.ai</groupId>
5354
<artifactId>spring-ai-autoconfigure-vector-store-chroma</artifactId>
5455
<version>${project.parent.version}</version>
56+
<optional>true</optional>
5557
</dependency>
5658
<dependency>
5759
<groupId>org.springframework.ai</groupId>
5860
<artifactId>spring-ai-autoconfigure-vector-store-weaviate</artifactId>
5961
<version>${project.parent.version}</version>
62+
<optional>true</optional>
6063
</dependency>
6164
<dependency>
6265
<groupId>org.springframework.ai</groupId>
6366
<artifactId>spring-ai-autoconfigure-vector-store-qdrant</artifactId>
6467
<version>${project.parent.version}</version>
68+
<optional>true</optional>
6569
</dependency>
6670
<dependency>
6771
<groupId>org.springframework.ai</groupId>
6872
<artifactId>spring-ai-autoconfigure-vector-store-typesense</artifactId>
6973
<version>${project.parent.version}</version>
74+
<optional>true</optional>
7075
</dependency>
7176

7277
<dependency>
7378
<groupId>com.google.protobuf</groupId>
7479
<artifactId>protobuf-java</artifactId>
7580
<version>${protobuf-java.version}</version>
81+
<optional>true</optional>
7682
</dependency>
7783

7884
<!-- production dependencies -->

0 commit comments

Comments
 (0)