You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by pa...@apache.org on 2017/11/10 23:19:12 UTC
[camel] 02/02: camel-mail: make MailMimeDecodeHeadersTest pass on
operation systems with a non-UTF-8 file encoding when using java 9
This is an automated email from the ASF dual-hosted git repository.
pascalschumacher pushed a commit to branch camel-2.20.x
in repository https://gitbox.apache.org/repos/asf/camel.git
commit a27df30d4402b23ed15662aa646e690d5df039a1
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sat Nov 11 00:16:06 2017 +0100
camel-mail: make MailMimeDecodeHeadersTest pass on operation systems with a non-UTF-8 file encoding when using java 9
---
components/camel-mail/pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/components/camel-mail/pom.xml b/components/camel-mail/pom.xml
index c6700c8..8643d39 100644
--- a/components/camel-mail/pom.xml
+++ b/components/camel-mail/pom.xml
@@ -151,7 +151,8 @@
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
- <argLine>--add-modules java.activation,java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
+ <!-- required to make MailMimeDecodeHeadersTest work on operating systems with a different default encoding -->
+ <argLine>-Dfile.encoding=UTF-8 --add-modules java.activation,java.xml.bind --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
</plugins>
--
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.