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

feature/19662
Manuele Simi 4 years ago
parent 7950525cfc
commit e944343a45

@ -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>

Loading…
Cancel
Save