You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Sebastian Kirsch (JIRA)" <ji...@apache.org> on 2017/02/14 20:17:41 UTC
[jira] [Created] (SUREFIRE-1334) Issue a warning in case argLine is
set in conjunction with forkCount=0
Sebastian Kirsch created SUREFIRE-1334:
------------------------------------------
Summary: Issue a warning in case argLine is set in conjunction with forkCount=0
Key: SUREFIRE-1334
URL: https://issues.apache.org/jira/browse/SUREFIRE-1334
Project: Maven Surefire
Issue Type: Wish
Components: Maven Surefire Plugin
Affects Versions: 2.18.1
Reporter: Sebastian Kirsch
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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)