Skip to content

Commit 08d7a2e

Browse files
committed
Upgrade junit, use junit BOM.
1 parent ffc9bc7 commit 08d7a2e

File tree

3 files changed

+27
-6
lines changed

3 files changed

+27
-6
lines changed

com.io7m.cedarbridge.tests/pom.xml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,27 @@
138138
<scope>provided</scope>
139139
</dependency>
140140

141+
<dependency>
142+
<groupId>org.junit.jupiter</groupId>
143+
<artifactId>junit-jupiter-api</artifactId>
144+
</dependency>
141145
<dependency>
142146
<groupId>org.junit.jupiter</groupId>
143147
<artifactId>junit-jupiter-engine</artifactId>
144148
</dependency>
149+
<dependency>
150+
<groupId>org.junit.platform</groupId>
151+
<artifactId>junit-platform-commons</artifactId>
152+
</dependency>
153+
<dependency>
154+
<groupId>org.junit.platform</groupId>
155+
<artifactId>junit-platform-engine</artifactId>
156+
</dependency>
157+
<dependency>
158+
<groupId>org.junit.platform</groupId>
159+
<artifactId>junit-platform-launcher</artifactId>
160+
</dependency>
161+
145162
<dependency>
146163
<groupId>ch.qos.logback</groupId>
147164
<artifactId>logback-classic</artifactId>

com.io7m.cedarbridge.tests/src/main/java/module-info.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@
5959
exports com.io7m.cedarbridge.tests;
6060

6161
requires com.io7m.jbssio.vanilla;
62+
requires com.io7m.junreachable.core;
6263
requires java.compiler;
6364
requires net.bytebuddy.agent;
6465
requires net.bytebuddy;
@@ -71,7 +72,7 @@
7172
requires org.junit.jupiter.engine;
7273
requires org.junit.platform.commons;
7374
requires org.junit.platform.engine;
74-
requires com.io7m.junreachable.core;
75+
requires org.junit.platform.launcher;
7576

7677
provides net.jqwik.api.providers.ArbitraryProvider
7778
with com.io7m.cedarbridge.tests.CBIdentityTestProvider;

pom.xml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@
7474
<!-- Third-party dependencies. -->
7575
<jqwik.version>1.9.0</jqwik.version>
7676
<org.immutables.version>2.10.1</org.immutables.version>
77+
<org.junit.version>5.11.0</org.junit.version>
7778
</properties>
7879

7980
<licenses>
@@ -180,11 +181,6 @@
180181
<artifactId>com.io7m.jodist</artifactId>
181182
<version>2.0.0</version>
182183
</dependency>
183-
<dependency>
184-
<groupId>org.junit.jupiter</groupId>
185-
<artifactId>junit-jupiter-engine</artifactId>
186-
<version>5.10.3</version>
187-
</dependency>
188184
<dependency>
189185
<groupId>com.io7m.jaffirm</groupId>
190186
<artifactId>com.io7m.jaffirm.core</artifactId>
@@ -247,6 +243,13 @@
247243
</dependency>
248244

249245
<!-- Test suite. -->
246+
<dependency>
247+
<groupId>org.junit</groupId>
248+
<artifactId>junit-bom</artifactId>
249+
<version>${org.junit.version}</version>
250+
<type>pom</type>
251+
<scope>import</scope>
252+
</dependency>
250253
<dependency>
251254
<groupId>nl.jqno.equalsverifier</groupId>
252255
<artifactId>equalsverifier</artifactId>

0 commit comments

Comments
 (0)