Skip to content

Commit efb2ed8

Browse files
committed
Uses Bill Of Materials for Junit Jupiter
1 parent 671410b commit efb2ed8

File tree

1 file changed

+7
-20
lines changed

1 file changed

+7
-20
lines changed

pom.xml

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,13 @@
4646

4747
<dependencyManagement>
4848
<dependencies>
49+
<dependency>
50+
<groupId>org.junit</groupId>
51+
<artifactId>junit-bom</artifactId>
52+
<version>${junit-jupiter.version}</version>
53+
<type>pom</type>
54+
<scope>import</scope>
55+
</dependency>
4956
<dependency>
5057
<groupId>info.picocli</groupId>
5158
<artifactId>picocli</artifactId>
@@ -94,26 +101,6 @@
94101
<version>${kotest.version}</version>
95102
<scope>test</scope>
96103
</dependency>
97-
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
98-
<dependency>
99-
<groupId>org.junit.jupiter</groupId>
100-
<artifactId>junit-jupiter-engine</artifactId>
101-
<version>${junit-jupiter.version}</version>
102-
<scope>test</scope>
103-
</dependency>
104-
<!-- https://mvnrepository.com/artifact/org.junit.jupiter/junit-jupiter-engine -->
105-
<dependency>
106-
<groupId>org.junit.jupiter</groupId>
107-
<artifactId>junit-jupiter-api</artifactId>
108-
<version>${junit-jupiter.version}</version>
109-
<scope>test</scope>
110-
</dependency>
111-
<dependency>
112-
<groupId>org.junit.jupiter</groupId>
113-
<artifactId>junit-jupiter</artifactId>
114-
<version>${junit-jupiter.version}</version>
115-
<scope>test</scope>
116-
</dependency>
117104
<dependency>
118105
<groupId>org.assertj</groupId>
119106
<artifactId>assertj-core</artifactId>

0 commit comments

Comments
 (0)