[ https://issues.apache.org/jira/browse/SUREFIRE-2070?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
pengningjun updated SUREFIRE-2070: ---------------------------------- Description: If we try to set line.separator by {*}systemPropertyVariables{*}, this will be a WARN:[code]([https://github.com/apache/maven-surefire/blob/master/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireProperties.java#L50])。 So I try to set line.separator by *argLine* but finally found '\r' and '\n' is replaced: [code]([https://github.com/apache/maven-surefire/blob/f6be3e648938414b222b50907b1db2d6a3cc977b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/DefaultForkConfiguration.java#L256]) So what is the right way to set line.separator? Any suggestion will be great appreciated! was: If we try to set line.separator by `systemPropertyVariables`, this will be a WARN:[code](https://github.com/apache/maven-surefire/blob/master/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireProperties.java#L50)。 So I try to set line.separator by `argLine`, but finally found '\r' and '\n' is replaced: [code](https://github.com/apache/maven-surefire/blob/f6be3e648938414b222b50907b1db2d6a3cc977b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/DefaultForkConfiguration.java#L256) So what is the right way to set line.separator? Any suggestion will be great appreciated! > can not set line.sepator > ------------------------ > > Key: SUREFIRE-2070 > URL: https://issues.apache.org/jira/browse/SUREFIRE-2070 > Project: Maven Surefire > Issue Type: Bug > Reporter: pengningjun > Priority: Minor > > If we try to set line.separator by {*}systemPropertyVariables{*}, this will > be a > WARN:[code]([https://github.com/apache/maven-surefire/blob/master/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/SurefireProperties.java#L50])。 > So I try to set line.separator by *argLine* but finally found '\r' and '\n' > is replaced: > [code]([https://github.com/apache/maven-surefire/blob/f6be3e648938414b222b50907b1db2d6a3cc977b/maven-surefire-common/src/main/java/org/apache/maven/plugin/surefire/booterclient/DefaultForkConfiguration.java#L256]) > So what is the right way to set line.separator? > > Any suggestion will be great appreciated! -- This message was sent by Atlassian Jira (v8.20.1#820001)