9
9
10
10
<parent >
11
11
<groupId >com.baeldung</groupId >
12
- <artifactId >parent-spring-5 </artifactId >
12
+ <artifactId >parent-boot-3 </artifactId >
13
13
<version >0.0.1-SNAPSHOT</version >
14
- <relativePath >../../parent-spring-5 </relativePath >
14
+ <relativePath >../../parent-boot-3 </relativePath >
15
15
</parent >
16
16
17
17
<dependencies >
18
18
<dependency >
19
19
<groupId >org.springframework.boot</groupId >
20
20
<artifactId >spring-boot-starter-data-cassandra</artifactId >
21
- <version >${spring-boot-starter-data-cassandra.version} </version >
22
21
</dependency >
23
22
<dependency >
24
- <groupId >org.springframework</groupId >
25
- <artifactId >spring-aop</artifactId >
26
- <version >${spring.version} </version >
23
+ <groupId >org.testcontainers</groupId >
24
+ <artifactId >testcontainers</artifactId >
25
+ <version >${testcontainers.version} </version >
26
+ <scope >test</scope >
27
27
</dependency >
28
28
<dependency >
29
- <groupId >org.springframework </groupId >
30
- <artifactId >spring-test </artifactId >
31
- <version >${spring .version} </version >
29
+ <groupId >org.testcontainers </groupId >
30
+ <artifactId >cassandra </artifactId >
31
+ <version >${testcontainers .version} </version >
32
32
<scope >test</scope >
33
33
</dependency >
34
34
<dependency >
35
- <groupId >org.cassandraunit </groupId >
36
- <artifactId >cassandra-unit-spring </artifactId >
37
- <version >${cassandra-unit-spring .version} </version >
35
+ <groupId >org.testcontainers </groupId >
36
+ <artifactId >junit-jupiter </artifactId >
37
+ <version >${testcontainers .version} </version >
38
38
<scope >test</scope >
39
- <exclusions >
40
- <exclusion >
41
- <groupId >org.cassandraunit</groupId >
42
- <artifactId >cassandra-unit</artifactId >
43
- </exclusion >
44
- </exclusions >
45
39
</dependency >
46
40
<dependency >
47
- <groupId >org.cassandraunit </groupId >
48
- <artifactId >cassandra-unit-shaded </artifactId >
49
- <version >${cassandra-unit-shaded .version} </version >
41
+ <groupId >uk. org.webcompere </groupId >
42
+ <artifactId >system-stubs-jupiter </artifactId >
43
+ <version >${system.stubs .version} </version >
50
44
<scope >test</scope >
51
- <exclusions >
52
- <!-- junit4 dependency is excluded as it should to be resolved from -->
53
- <!-- junit-vintage-engine included in parent-modules. -->
54
- <exclusion >
55
- <groupId >junit</groupId >
56
- <artifactId >junit</artifactId >
57
- </exclusion >
58
- </exclusions >
59
45
</dependency >
60
46
<dependency >
61
- <groupId >org.hectorclient</groupId >
62
- <artifactId >hector-core</artifactId >
63
- <version >${hector-core.version} </version >
64
- <exclusions >
65
- <exclusion >
66
- <artifactId >commons-logging</artifactId >
67
- <groupId >commons-logging</groupId >
68
- </exclusion >
69
- </exclusions >
47
+ <groupId >com.datastax.oss</groupId >
48
+ <artifactId >java-driver-mapper-runtime</artifactId >
49
+ <version >${java-driver-mapper-runtime.version} </version >
50
+ </dependency >
51
+ <dependency >
52
+ <groupId >org.junit.jupiter</groupId >
53
+ <artifactId >junit-jupiter-engine</artifactId >
54
+ <version >${junit-jupiter.version} </version >
55
+ <scope >test</scope >
56
+ </dependency >
57
+ <dependency >
58
+ <groupId >org.junit.jupiter</groupId >
59
+ <artifactId >junit-jupiter-api</artifactId >
60
+ <version >${junit-jupiter.version} </version >
61
+ <scope >test</scope >
70
62
</dependency >
71
63
</dependencies >
72
64
73
65
<properties >
74
- <spring-boot-starter- data-cassandra .version>1.3.2.RELEASE</ spring-boot-starter- data-cassandra .version>
75
- <cassandra-unit-spring .version>2.1.9.2</ cassandra-unit-spring .version>
76
- <cassandra-unit-shaded . version>2.1.9.2</ cassandra-unit-shaded .version>
66
+ <org .springframework. data.version>4.1.9</ org .springframework. data.version>
67
+ <testcontainers .version>1.19.5</ testcontainers .version>
68
+ <system .stubs. version>2.1.5</ system .stubs .version>
77
69
<hector-core .version>2.0-0</hector-core .version>
70
+ <java-driver-mapper-runtime .version>4.17.0</java-driver-mapper-runtime .version>
78
71
</properties >
79
72
80
73
</project >
0 commit comments