Skip to content

Commit 958abc7

Browse files
mizdebskmkoncek
authored andcommitted
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.
1 parent de7cb69 commit 958abc7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/x
105105
</dependency>
106106
<dependency>
107107
<groupId>org.junit.jupiter</groupId>
108-
<artifactId>junit-jupiter-engine</artifactId>
108+
<artifactId>junit-jupiter-api</artifactId>
109109
<version>5.13.3</version>
110110
<scope>test</scope>
111111
</dependency>

0 commit comments

Comments
 (0)