[ 
https://jira.codehaus.org/browse/SUREFIRE-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355189#comment-355189
 ] 

Andreas Gudian commented on SUREFIRE-1053:
------------------------------------------

OK, looking at the code more closely, it seems like if you pass file.encoding 
to mvn and use <argLine>-Dfile.encoding=..</argLine>, you will get that new 
warning.

IMHO, printing a warning for those parameters that _must_ be set via argLine 
should not be logged as warning. I'll make a quick adjustment...

[~tibor17], let me know if that's against what you had in mind so we can 
discuss it. For now I just wanted to let you alone to deal with SUREFIRE-1108 ;)

> 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)

Reply via email to