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 20, 2024
1 parent a48becf commit 4285f8f
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 18 deletions.
12 changes: 12 additions & 0 deletions com.io7m.aradine.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,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.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</artifactId>
Expand Down
9 changes: 5 additions & 4 deletions com.io7m.aradine.tests/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,9 @@
requires org.mockito;
requires org.slf4j;

requires transitive org.junit.jupiter.api;
requires transitive org.junit.jupiter.engine;
requires transitive org.junit.platform.commons;
requires transitive org.junit.platform.engine;
requires org.junit.jupiter.api;
requires org.junit.jupiter.engine;
requires org.junit.platform.commons;
requires org.junit.platform.engine;
requires org.junit.platform.launcher;
}
20 changes: 6 additions & 14 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

<!-- Third-party dependencies. -->
<io7m.maven-api.version>3.9.6</io7m.maven-api.version>
<junit.version>5.10.1</junit.version>
<org.junit.version>5.10.1</org.junit.version>
<org.mockito.version>5.8.0</org.mockito.version>
</properties>

Expand Down Expand Up @@ -409,19 +409,11 @@
</exclusions>
</dependency>
<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>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-params</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 4285f8f

Please sign in to comment.