Skip to content

Commit 538bbfd

Browse files
committed
junit dependency fixes
1 parent e881991 commit 538bbfd

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

samples/basic/spring-boot/pom.xml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,17 @@
3131
<artifactId>spring-boot-operator-framework-starter</artifactId>
3232
<version>${project.version}</version>
3333
</dependency>
34+
<dependency>
35+
<groupId>org.springframework.boot</groupId>
36+
<artifactId>spring-boot-starter-test</artifactId>
37+
<scope>test</scope>
38+
<exclusions>
39+
<exclusion>
40+
<groupId>junit</groupId>
41+
<artifactId>junit</artifactId>
42+
</exclusion>
43+
</exclusions>
44+
</dependency>
3445
</dependencies>
3546

3647
<dependencyManagement>

spring-boot-starter/pom.xml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,10 @@
6666
<groupId>junit</groupId>
6767
<artifactId>junit</artifactId>
6868
</exclusion>
69+
<exclusion>
70+
<groupId>org.junit.vintage</groupId>
71+
<artifactId>junit-vintage-engine</artifactId>
72+
</exclusion>
6973
</exclusions>
7074
</dependency>
7175
<dependency>

0 commit comments

Comments
 (0)