SPARK-2039: Encode UTF-8 i18n files during build.

This commit is contained in:
Guus der Kinderen 2017-12-09 16:52:25 +01:00
parent e412595c5a
commit 6fd475e041

21
pom.xml
View File

@ -108,5 +108,26 @@
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<!--
Java has trouble reading translations from UTF-8 files. To work around that,
this plugin ensures that Java-compatible encoding is used.
See https://stackoverflow.com/questions/4659929/how-to-use-utf-8-in-resource-properties-with-resourcebundle
-->
<groupId>org.codehaus.mojo</groupId>
<artifactId>native2ascii-maven-plugin</artifactId>
<version>1.0-beta-1</version>
<executions>
<execution>
<id>native2ascii</id>
<goals>
<goal>native2ascii</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>