Details
-
Wish
-
Status: Open
-
Major
-
Resolution: Unresolved
-
2.18.1
-
None
-
None
Description
I just spend some considerable amount of time figuring out why JaCoCo wouldn't work for a Maven project. The reason is that the JaCoCo Maven plugin sets the argLine property with a javaagent which causes the coverage to be generated and reported - but with forkCount being set to 0, the argLine parameter has no effect.
Now hindsight is 20/20, but I think it would be helpful if surefire would simply report a warning in case the argLine property is set, but will not have an effect.
I assume the same is true for the systemProperties, systemPropertiesFile, systemPropertyVariables, and maybe others.