File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 <parent >
77 <groupId >org.springframework.boot</groupId >
88 <artifactId >spring-boot-starter-parent</artifactId >
9- <version >3.3.3 </version >
9+ <version >3.3.4 </version >
1010 <relativePath /> <!-- lookup parent from repository -->
1111 </parent >
1212
8989 <groupId >org.springframework.boot</groupId >
9090 <artifactId >spring-boot-starter-test</artifactId >
9191 <scope >test</scope >
92+ <exclusions >
93+ <exclusion >
94+ <groupId >org.hamcrest</groupId >
95+ <artifactId >hamcrest</artifactId >
96+ </exclusion >
97+ </exclusions >
9298 </dependency >
9399 <dependency >
94100 <groupId >org.springframework.boot</groupId >
123129 <groupId >org.hamcrest</groupId >
124130 <artifactId >hamcrest-library</artifactId >
125131 </exclusion >
132+ <exclusion >
133+ <!-- see: https://github.com/testcontainers/testcontainers-java/issues/970#issuecomment-625044008 -->
134+ <!-- can be removed once testcontainers drop their dependency to junit4 -->
135+ <groupId >junit</groupId >
136+ <artifactId >junit</artifactId >
137+ </exclusion >
126138 </exclusions >
127139 </dependency >
128140 <dependency >
Original file line number Diff line number Diff line change 1+ package org .junit .rules ;
2+
3+ /**
4+ * This is required by Testcontainers but actually unused.
5+ * By defining this here, we can avoid loading Junit-4.
6+ * See: https://github.com/testcontainers/testcontainers-java/issues/970#issuecomment-625044008
7+ */
8+ @ SuppressWarnings ("unused" )
9+ public interface TestRule {
10+ }
Original file line number Diff line number Diff line change 1+ package org .junit .runners .model ;
2+
3+ /**
4+ * This is required by Testcontainers but actually unused.
5+ * By defining this here, we can avoid loading Junit-4.
6+ * See: https://github.com/testcontainers/testcontainers-java/issues/970#issuecomment-625044008
7+ */
8+ @ SuppressWarnings ("unused" )
9+ public class Statement {
10+ }
You can’t perform that action at this time.
0 commit comments