[
https://jira.codehaus.org/browse/SUREFIRE-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355128#comment-355128
]
Tibor Digana commented on SUREFIRE-1053:
----------------------------------------
Fixed in https://github.com/apache/maven-surefire/pull/63
The misleading warning is suppressed if argLine is used, but another warning
has to arise up saying that systemPropertyVariables declares same sys
properties as in argLine.
> Suppress warning message if file.encoding is set using argLine
> --------------------------------------------------------------
>
> Key: SUREFIRE-1053
> URL: https://jira.codehaus.org/browse/SUREFIRE-1053
> Project: Maven Surefire
> Issue Type: Improvement
> Components: Maven Surefire Plugin, process forking
> Affects Versions: 2.15
> Reporter: Gili
> Assignee: Tibor Digana
> Priority: Minor
> Fix For: 2.18
>
>
> As a followup to SUREFIRE-951...
> I am getting {{file.encoding cannot be set as system property, use
> <argLine>-Dfile.encoding=...<argLine> instead}} in spite of the fact that I
> set {{file.encoding}} as the warning recommends. If {{-Dfile.encoding}} is
> set as a system property, and it is also set using {{argLine}} then you
> should suppress this warning.
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)