Merge pull request #1648 from bhamiltoncx/file-encoding-utf-8

Ensure unit tests are run with file.encoding=UTF-8
This commit is contained in:
Terence Parr 2017-02-13 15:06:19 -08:00 committed by GitHub
commit aa58ba5a2e
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>