This is an automated email from the ASF dual-hosted git repository.

pascalschumacher pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git


The following commit(s) were added to refs/heads/master by this push:
     new a4ddd6e  camel-mail: make MailMimeDecodeHeadersTest pass on operation 
systems with a non-UTF-8 file encoding when using java 9
a4ddd6e is described below

commit a4ddd6ea53e0aa880c16fb8fd84f2beec7a5ba8a
Author: Pascal Schumacher <pascalschumac...@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 98e0ae3..82d1f9b 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" <commits@camel.apache.org>'].

Reply via email to