Skip to content

Commit fbc5edf

Browse files
committed
set charset for maven-surefire-plugin to make i18n tests pass
1 parent 5361e73 commit fbc5edf

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

pom.xml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,30 @@
8282
</dependency>
8383
</dependencies>
8484

85+
<build>
86+
<plugins>
87+
<plugin>
88+
<groupId>org.apache.maven.plugins</groupId>
89+
<artifactId>maven-compiler-plugin</artifactId>
90+
<version>3.5.1</version>
91+
<configuration>
92+
<source>1.6</source>
93+
<target>1.6</target>
94+
<encoding>UTF-8</encoding>
95+
</configuration>
96+
</plugin>
97+
98+
<plugin>
99+
<groupId>org.apache.maven.plugins</groupId>
100+
<artifactId>maven-surefire-plugin</artifactId>
101+
<version>2.19.1</version>
102+
<configuration>
103+
<argLine>-Dfile.encoding=UTF-8</argLine>
104+
</configuration>
105+
</plugin>
106+
</plugins>
107+
</build>
108+
85109
<profiles>
86110
<profile>
87111
<id>release-sign-artifacts</id>

0 commit comments

Comments
 (0)