Package io.vertx.ext.unit.junit not found

13 views
Skip to first unread message

E. Ulrich Kriegel

unread,
Jul 7, 2025, 7:25:08 AMJul 7
to vert.x
We are trying to migrate our projects with Vertx 5.0.1 from junit4 to junit5.

However, the package 'io.vertx.ext.unit.junit' is not found

The follon dependencies are specified in poms

<properties>
<vertx.version>5.0.1</vertx.version>
<junit.version>[5.9.1,)</junit.version>
<junit.platform.version>1.13.3</junit.platform.version>
</properties>

<dependencies>

...

<dependency>
<groupId>io.vertx</groupId>
<artifactId>vertx-junit5</artifactId>
<version>${vertx.version}</version>
<scope>test</scope>
</dependency>
<dependency>
        <groupId>org.junit.jupiter</groupId>
        <artifactId>junit-jupiter-engine</artifactId>
        <version>${junit.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
        <groupId>org.junit.platform</groupId>
        <artifactId>junit-platform-runner</artifactId>
        <version>${junit.platform.version}</version>
        <scope>test</scope>
    </dependency>
    <dependency>
  <groupId>org.junit.vintage</groupId>
  <artifactId>junit-vintage-engine</artifactId>
  <version>${junit.version}</version>
  <scope>test</scope>
</dependency>
</dependencies>

What is missing?

Thanks in advance

E. Ulrich Kriegel

unread,
Jul 7, 2025, 7:40:25 AMJul 7
to vert.x
Problem solved by using the new Structure proposed in Vertx examples

Thomas SEGISMONT

unread,
Jul 8, 2025, 2:32:23 PMJul 8
to ve...@googlegroups.com
Thanks for sharing.

io.vertx.ext.unit.junit package is specific to the jUnit 4 integration.
For jUnit5, the package name is io.vertx.junit5

Regards,
Thomas

--
You received this message because you are subscribed to the Google Groups "vert.x" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vertx+un...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/vertx/a57a1083-dc0b-4b39-9cf0-4dd0e01bae2cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages