Skip to content
This repository was archived by the owner on Feb 9, 2026. It is now read-only.

JanMosigItemis/sfrf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Surefire reuseForks bug demo

Build

mvn clean verify

Works

<reuseForks>true</reuseForks>

Doesn't work

<reuseForks>false</reuseForks>

Solution

The solution is to use MAVEN_OPTS="--add-modules .. mvn clean verify" because with reuseForks set to false, the tests will be run inside the same JVM as mvn. Since this JVM is already running, argLine won't have any effect.

About

Surefire reuseForks bug demo

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages