[ https://jira.codehaus.org/browse/SUREFIRE-1053?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=355143#comment-355143 ]
Andreas Gudian commented on SUREFIRE-1053: ------------------------------------------ > Can you elaborate on that last part? "another warning has to arise up saying > that systemPropertyVariables declares same sys properties as in argLine." That means if you specify the same variables in systemPropertyVariables _and_ in the argLine, you'll get a new warning message. I think that's pretty nice... :) > 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)