Ensure tests are run with file.encoding=UTF-8

This commit is contained in:
Ben Hamilton 2017-02-09 16:19:34 -08:00
parent 182f3c4647
commit 11aa20c5e7
2 changed files with 4 additions and 0 deletions

View File

@ -95,6 +95,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.19.1</version>
<configuration>
<!-- SUREFIRE-951: file.encoding cannot be set via systemPropertyVariables -->
<argLine>-Dfile.encoding=UTF-8</argLine>
<includes>
<include>**/csharp/Test*.java</include>
<include>**/java/Test*.java</include>

View File

@ -59,6 +59,8 @@
<artifactId>maven-surefire-plugin</artifactId>
<version>2.12.4</version>
<configuration>
<!-- SUREFIRE-951: file.encoding cannot be set via systemPropertyVariables -->
<argLine>-Dfile.encoding=UTF-8</argLine>
<includes>
<include>**/Test*.java</include>
</includes>