Surefire plugin: migrate the deprecated forkMode parameter to forkCount and reuseForks. #8
10
pom.xml
10
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.test.outputDirectory}</reportsDirectory>
|
||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
|
@ -1081,6 +1085,8 @@
|
||||||
<!-- default value for the distro directory -->
|
<!-- default value for the distro directory -->
|
||||||
<distroDirectory>distro</distroDirectory>
|
<distroDirectory>distro</distroDirectory>
|
||||||
|
|
||||||
|
<project.test.outputDirectory>${project.build.directory}/surefire-reports</project.test.outputDirectory>
|
||||||
|
|
||||||
<java_version>1.8</java_version>
|
<java_version>1.8</java_version>
|
||||||
<java.expected.vm>.*OpenJDK.*</java.expected.vm>
|
<java.expected.vm>.*OpenJDK.*</java.expected.vm>
|
||||||
<maven.compiler.source>${java_version}</maven.compiler.source>
|
<maven.compiler.source>${java_version}</maven.compiler.source>
|
||||||
|
|
Loading…
Reference in New Issue