Surefire plugin: migrate the deprecated forkMode parameter to forkCount and reuseForks. #8

Manually merged
manuele.simi merged 2 commits from feature/19662 into master 2020-08-15 04:58:39 +02:00
1 changed files with 6 additions and 2 deletions
Showing only changes of commit e944343a45 - Show all commits

View File

@ -762,9 +762,13 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M3</version>
<version>3.0.0-M5</version>
<configuration>
<forkMode>always</forkMode> <!-- integration tests require it -->
<parallel>classes</parallel> <!-- each class in its own JVM-->
<threadCountClasses>10</threadCountClasses>
<forkCount>3</forkCount> <!-- 3 JVMs at build time -->
<reuseForks>true</reuseForks> <!-- reuse the JVMs across classes -->
<reportsDirectory>${project.build.directory}/surefire-reports</reportsDirectory>
</configuration>
</plugin>