From 2ed5c3eb97d28ce07a9a5dc3390415a0cbca1f52 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Tue, 8 Jul 2025 16:32:53 +0200 Subject: [PATCH] Depend on junit-jupiter-api instead of -engine Depending on the full junit-jupiter-engine is incorrect when tests only use annotations and assertions from junit-jupiter-api. The test runner (Maven Surefire) brings in the engine automatically. Declaring it manually only adds unnecessary dependencies. --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index c059506..23de379 100644 --- a/pom.xml +++ b/pom.xml @@ -105,7 +105,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x org.junit.jupiter - junit-jupiter-engine + junit-jupiter-api 5.13.3 test