diff --git a/pom.xml b/pom.xml index a52ca191e5f..e75576d9f32 100644 --- a/pom.xml +++ b/pom.xml @@ -74,7 +74,7 @@ 37 0.9.14 3.8.1 - 1.20.1 + 1.20.2 5.4.4 9.0.1 3.5.0 diff --git a/src/main/resources/generator/dependencies/pom.xml b/src/main/resources/generator/dependencies/pom.xml index dcdb480ee56..f6aff9eb728 100644 --- a/src/main/resources/generator/dependencies/pom.xml +++ b/src/main/resources/generator/dependencies/pom.xml @@ -47,7 +47,7 @@ 3.26.3 5.14.1 4.3.1.0 - 1.20.1 + 1.20.2 1.3.0 7.19.0 24.7.0 diff --git a/src/main/resources/generator/server/springboot/database/cassandra/TestCassandraManager.java.mustache b/src/main/resources/generator/server/springboot/database/cassandra/TestCassandraManager.java.mustache index e2ce4ceb7db..073b78ec9d4 100644 --- a/src/main/resources/generator/server/springboot/database/cassandra/TestCassandraManager.java.mustache +++ b/src/main/resources/generator/server/springboot/database/cassandra/TestCassandraManager.java.mustache @@ -7,12 +7,12 @@ import org.springframework.boot.SpringApplication; import org.springframework.boot.context.event.ApplicationEnvironmentPreparedEvent; import org.springframework.context.ApplicationListener; import org.springframework.core.Ordered; -import org.testcontainers.containers.CassandraContainer; +import org.testcontainers.cassandra.CassandraContainer; class TestCassandraManager implements ApplicationListener, Ordered { private static final String KEYSPACE = "{{ baseName }}"; - private static CassandraContainer cassandraContainer; + private static CassandraContainer cassandraContainer; @Override public int getOrder() { @@ -36,7 +36,7 @@ class TestCassandraManager implements ApplicationListener("{{ cassandraDockerImage }}"); + cassandraContainer = new CassandraContainer("{{ cassandraDockerImage }}"); } private Runnable stopContainer() {