jglick / sezpoz

SezPoz: lightweight, annotation-based service loader
29 stars 11 forks source link

Use reuseForks=false instead of forkMode=pertest #16

Closed batmat closed 5 years ago

batmat commented 5 years ago

To fix the following warnings:

[INFO] --- maven-surefire-plugin:2.19.1:test (default-test) @ sezpoz ---
[WARNING] The parameter forkMode is deprecated since version 2.14. Use forkCount and reuseForks instead.

Not specifying forkCount=1, given it's the default.

Cf. http://maven.apache.org/surefire/maven-surefire-plugin/examples/fork-options-and-parallel-execution.html#Migrating_the_Deprecated_forkMode_Parameter_to_forkCount_and_reuseForks

And https://stackoverflow.com/a/40096619/345845 that nicely clarifies that pertest actually is synonymous to always.

@jglick