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 7232fad commit 9349c52
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 11 deletions.
17 changes: 15 additions & 2 deletions com.io7m.quixote.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,26 @@
<artifactId>nanohttpd</artifactId>
<optional>true</optional>
</dependency>

<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>
Expand Down
1 change: 1 addition & 0 deletions com.io7m.quixote.tests/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
requires org.junit.jupiter.engine;
requires org.junit.platform.commons;
requires org.junit.platform.engine;
requires org.junit.platform.launcher;

requires com.io7m.quixote.core;
requires com.io7m.quixote.xml;
Expand Down
17 changes: 8 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@

<!-- Third-party dependencies. -->
<jooq.version>3.17.5</jooq.version>
<junit.version>5.10.2</junit.version>
<org.junit.version>5.10.2</org.junit.version>
</properties>

<licenses>
Expand Down Expand Up @@ -120,16 +120,15 @@
<artifactId>org.osgi.service.component.annotations</artifactId>
<version>1.5.1</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>com.io7m.primogenitor</groupId>
<artifactId>com.io7m.primogenitor.support</artifactId>
Expand Down

0 comments on commit 9349c52

Please sign in to comment.