[
https://issues.apache.org/jira/browse/SUREFIRE-1371?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17100331#comment-17100331
]
Tibor Digana commented on SUREFIRE-1371:
----------------------------------------
[~cowwoc]
This is easy to implement a fix, see the class {{AbstractSurefireMojo}}, method
{{verifyParameters}} and unit test {{AbstractSurefireMojoTest}}.
Feel free to open a PR.
> Plugin should fail if argLine is set when forkCount = 0
> --------------------------------------------------------
>
> Key: SUREFIRE-1371
> URL: https://issues.apache.org/jira/browse/SUREFIRE-1371
> Project: Maven Surefire
> Issue Type: Improvement
> Components: Maven Failsafe Plugin, Maven Surefire Plugin, process
> forking
> Reporter: Gili
> Assignee: Tibor Digana
> Priority: Major
> Fix For: 2.21.1
>
> Original Estimate: 48h
> Remaining Estimate: 48h
>
> Following up on SUREFIRE-1369: The plugin should fail with a verbose error if
> {{forkCount=0}} and {{<argLine>}} is set.
> Per [~tibor17], this sanity check should happen in {{AbstractSurefireMojo}}.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)