Skip to content

Commit

Permalink
Upgrade junit, use junit BOM.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Oct 21, 2024
1 parent 6519f57 commit 7f5c5ba
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
13 changes: 13 additions & 0 deletions com.io7m.tabla.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand All @@ -51,6 +52,18 @@
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-engine</artifactId>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-launcher</artifactId>
</dependency>

<dependency>
<groupId>org.osgi</groupId>
Expand Down
3 changes: 2 additions & 1 deletion com.io7m.tabla.tests/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
* Plain text table rendering (Core).
*/

module com.io7m.tabla.tests
open module com.io7m.tabla.tests
{
requires static org.osgi.annotation.bundle;
requires static org.osgi.annotation.versioning;
Expand All @@ -30,6 +30,7 @@
requires org.junit.jupiter.engine;
requires org.junit.platform.commons;
requires org.junit.platform.engine;
requires org.junit.platform.launcher;

requires com.io7m.tabla.cmdline;
requires com.io7m.tabla.core;
Expand Down
15 changes: 6 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@

<!-- Third-party dependencies. -->
<jqwik.version>1.9.1</jqwik.version>
<junit.version>5.11.2</junit.version>
<org.junit.version>5.11.3</org.junit.version>
</properties>

<licenses>
Expand Down Expand Up @@ -144,14 +144,11 @@

<!-- Test suite. -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<version>${junit.version}</version>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit.version}</version>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${org.junit.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>nl.jqno.equalsverifier</groupId>
Expand Down

0 comments on commit 7f5c5ba

Please sign in to comment.