Skip to content

dependencies.dependency.version for testcontainers is missing #16

@shelajev

Description

@shelajev

I'm trying springboot-testresources on a Spring Boot Petclinic app, and I think I followed the instructions properly, but when i try to build it, or run the individual test from my IDE (PetClinicIntegrationTests), then it fails with the following error:

> Task :internalStartTestResourcesService
Errors occurred while build effective model from /Users/shelajev/.gradle/caches/modules-2/files-2.1/io.cloudflight.testresources.springboot/springboot-testresources-jdbc-postgres/0.2.0/133bd2af448e4f364498b889a8d5e6847e3881a9/springboot-testresources-jdbc-postgres-0.2.0.pom:
        'dependencies.dependency.version' for org.testcontainers:postgresql:jar is missing. in io.cloudflight.testresources.springboot:springboot-testresources-jdbc-postgres:0.2.0
Errors occurred while build effective model from /Users/shelajev/.gradle/caches/modules-2/files-2.1/io.cloudflight.testresources.springboot/springboot-testresources-jdbc/0.2.0/fe2291622201c55906afb3fc811c7dc5450fcc3a/springboot-testresources-jdbc-0.2.0.pom:
        'dependencies.dependency.version' for org.testcontainers:jdbc:jar is missing. in io.cloudflight.testresources.springboot:springboot-testresources-jdbc:0.2.0

Do you know what can I try to resolve? I added Testcontainers BOM to explicitly provide the versions, but it doesn't seem to help.

The project if you want to try it is here: Github repo

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions