Skip to content

Commit

Permalink
JBEHAVE-1585 Stop using deprecated parameter forkMode of Surefire p…
Browse files Browse the repository at this point in the history
…lugin

`forkMode` parameter was deprecated in MavenSurefire plugin 2.14, and it was removed in 3.X.

The migration guide is available at: https://maven.apache.org/surefire-archives/surefire-2.22.2/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html
The replacement for `forkMode=once` is `forkCount=1 (default), reuseForks=true (default)`.
Considering values are set by default, explicit configuration is omitted.
  • Loading branch information
valfirst committed Aug 15, 2023
1 parent 035ce6b commit f990c9d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@
<includes>
<include>**/*Behaviour.java</include>
</includes>
<forkMode>once</forkMode>
<printSummary>true</printSummary>
<useFile>true</useFile>
<systemPropertyVariables>
Expand Down

0 comments on commit f990c9d

Please sign in to comment.