Surefire plugin: migrate the deprecated forkMode parameter to forkCount and reuseForks.
This commit is contained in:
parent
7950525cfc
commit
e944343a45
8
pom.xml
8
pom.xml
|
@ -762,9 +762,13 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-surefire-plugin</artifactId>
|
<artifactId>maven-surefire-plugin</artifactId>
|
||||||
<version>3.0.0-M3</version>
|
<version>3.0.0-M5</version>
|
||||||
<configuration>
|
<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>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue