pom: make surefire work with junit 5

This commit is contained in:
Paul Campbell 2018-05-31 23:16:51 +01:00
parent e609ed0bdb
commit f6aeb1fbb6

14
pom.xml
View file

@ -13,6 +13,8 @@
<tiles-maven-plugin.version>2.10</tiles-maven-plugin.version> <tiles-maven-plugin.version>2.10</tiles-maven-plugin.version>
<kemitix-tiles.version>0.8.1</kemitix-tiles.version> <kemitix-tiles.version>0.8.1</kemitix-tiles.version>
<kemitix-checkstyle.version>4.1.1</kemitix-checkstyle.version> <kemitix-checkstyle.version>4.1.1</kemitix-checkstyle.version>
<maven-surefire-plugin.version>2.21.0</maven-surefire-plugin.version>
<junit-platform-surefire-provider.version>1.2.0</junit-platform-surefire-provider.version>
<lombok.version>1.16.20</lombok.version> <lombok.version>1.16.20</lombok.version>
<jgit.version>4.11.0.201803080745-r</jgit.version> <jgit.version>4.11.0.201803080745-r</jgit.version>
<junit.version>5.2.0</junit.version> <junit.version>5.2.0</junit.version>
@ -83,6 +85,18 @@
</tiles> </tiles>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
<dependencies>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-surefire-provider</artifactId>
<version>${junit-platform-surefire-provider.version}</version>
</dependency>
</dependencies>
</plugin>
</plugins> </plugins>
</build> </build>
</project> </project>