Skip to content

Commit 251e6db

Browse files
committed
Make Maven run JUnit 5 tests as well
1 parent 02df00f commit 251e6db

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

pom.xml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,18 @@
9292
<version>${bouncycastle.version}</version>
9393
<scope>test</scope>
9494
</dependency>
95+
<dependency>
96+
<groupId>org.junit.jupiter</groupId>
97+
<artifactId>junit-jupiter-engine</artifactId>
98+
<version>5.7.0</version>
99+
<scope>test</scope>
100+
</dependency>
101+
<dependency>
102+
<groupId>org.junit.vintage</groupId>
103+
<artifactId>junit-vintage-engine</artifactId>
104+
<version>${junit5.version}</version>
105+
<scope>test</scope>
106+
</dependency>
95107
</dependencies>
96108
<build>
97109
<plugins>
@@ -190,6 +202,10 @@
190202
<target>${java.version}</target>
191203
</configuration>
192204
</plugin>
205+
<plugin>
206+
<artifactId>maven-surefire-plugin</artifactId>
207+
<version>2.22.2</version>
208+
</plugin>
193209
</plugins>
194210
</build>
195211
<licenses>

0 commit comments

Comments
 (0)