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 21, 2024
1 parent c2b8d44 commit 924e521
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 12 deletions.
7 changes: 6 additions & 1 deletion com.io7m.jxtrand.examples/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,13 @@
requires static org.osgi.annotation.bundle;
requires static org.osgi.annotation.versioning;

requires transitive com.io7m.jxtrand.api;
requires com.io7m.jxtrand.api;
requires com.io7m.jxtrand.vanilla;

opens com.io7m.jxtrand.examples to
com.io7m.jxtrand.vanilla;
opens com.io7m.jxtrand.examples.internal to
com.io7m.jxtrand.vanilla;

exports com.io7m.jxtrand.examples;
}
17 changes: 15 additions & 2 deletions com.io7m.jxtrand.tests/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>

<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
Expand All @@ -64,8 +69,16 @@
<artifactId>junit-jupiter-engine</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<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>
</dependencies>

Expand Down
15 changes: 6 additions & 9 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@

<!-- Third-party dependencies. -->
<io7m.maven-api.version>3.9.9</io7m.maven-api.version>
<junit.version>5.11.2</junit.version>
<org.junit.version>5.11.2</org.junit.version>
</properties>

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

<!-- Test suite. -->
<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-engine</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>org.mock-server</groupId>
Expand Down

0 comments on commit 924e521

Please sign in to comment.