Skip to content

Commit

Permalink
Use junit BOM.
Browse files Browse the repository at this point in the history
  • Loading branch information
io7m committed Oct 26, 2024
1 parent b9673fb commit e3daac6
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 9 deletions.
12 changes: 12 additions & 0 deletions com.io7m.zelador.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,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>ch.qos.logback</groupId>
Expand Down
1 change: 1 addition & 0 deletions com.io7m.zelador.tests/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
requires org.junit.jupiter.engine;
requires org.junit.platform.commons;
requires org.junit.platform.engine;
requires org.junit.platform.launcher;

exports com.io7m.zelador.tests;
}
15 changes: 6 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

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

<licenses>
Expand Down Expand Up @@ -124,14 +124,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 e3daac6

Please sign in to comment.