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 7e5a75f commit 4e3c034
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 15 deletions.
17 changes: 15 additions & 2 deletions com.io7m.quarrel.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,25 @@

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-engine</artifactId>
<artifactId>junit-jupiter-api</artifactId>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<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>net.jqwik</groupId>
<artifactId>jqwik-api</artifactId>
Expand Down
9 changes: 5 additions & 4 deletions com.io7m.quarrel.tests/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,11 @@
requires com.io7m.quarrel.core;
requires com.io7m.quarrel.ext.xstructural;

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;

requires org.apache.commons.io;
requires org.slf4j;
Expand Down
17 changes: 8 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,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 @@ -130,16 +130,15 @@
<artifactId>logback-classic</artifactId>
<version>1.5.11</version>
</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>
<groupId>org.junit</groupId>
<artifactId>junit-bom</artifactId>
<version>${org.junit.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>

<dependency>
<groupId>net.jqwik</groupId>
<artifactId>jqwik-api</artifactId>
Expand Down

0 comments on commit 4e3c034

Please sign in to comment.