From b9e8ab36e1497e3dd4048f00a45c99f6487b38d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Edd=C3=BA=20Mel=C3=A9ndez?= Date: Tue, 16 Dec 2025 16:35:16 -0600 Subject: [PATCH] Make mongodb starter optional for Testcontainers and Docker Compose modules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Currently, `org.springframework.boot:spring-boot-starter-data-mongodb` and `org.springframework.boot:spring-boot-starter-mongodb` are transitive dependencies. This should not be the case for Testcontainers and Docker Compose modules. Signed-off-by: EddĂș MelĂ©ndez --- spring-ai-spring-boot-docker-compose/pom.xml | 1 + spring-ai-spring-boot-testcontainers/pom.xml | 1 + 2 files changed, 2 insertions(+) diff --git a/spring-ai-spring-boot-docker-compose/pom.xml b/spring-ai-spring-boot-docker-compose/pom.xml index 97d7adfaa4d..c8e2805e22a 100644 --- a/spring-ai-spring-boot-docker-compose/pom.xml +++ b/spring-ai-spring-boot-docker-compose/pom.xml @@ -104,6 +104,7 @@ org.springframework.boot spring-boot-starter-mongodb + true org.springframework.boot diff --git a/spring-ai-spring-boot-testcontainers/pom.xml b/spring-ai-spring-boot-testcontainers/pom.xml index a6bdade736f..97ab52d57ac 100644 --- a/spring-ai-spring-boot-testcontainers/pom.xml +++ b/spring-ai-spring-boot-testcontainers/pom.xml @@ -124,6 +124,7 @@ org.springframework.boot spring-boot-starter-data-mongodb + true