[ https://jira.codehaus.org/browse/SUREFIRE-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355167#comment-355167 ]
Andreas Gudian commented on SUREFIRE-1053: ------------------------------------------ Tibor would have to say for sure, but as I understand it, passing -D... to mvn is not something that would cause the warning message. Only deliberate specification of system property variables in the surefire config section in the pom. > 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)