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:11 UTC

[camel] 01/02: camel-mail: make MailMimeDecodeHeadersTest pass on operation systems with a non-UTF-8 file encoding

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 b5904c11384c17c074696b0c893f624c0aa408eb
Author: Pascal Schumacher <pa...@gmx.net>
AuthorDate: Sun Nov 5 11:36:06 2017 +0100

    camel-mail: make MailMimeDecodeHeadersTest pass on operation systems with a non-UTF-8 file encoding
---
 components/camel-mail/pom.xml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/components/camel-mail/pom.xml b/components/camel-mail/pom.xml
index 177a525..c6700c8 100644
--- a/components/camel-mail/pom.xml
+++ b/components/camel-mail/pom.xml
@@ -127,6 +127,19 @@
         </dependency>
     </dependencies>
 
+    <build>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.maven.plugins</groupId>
+           <artifactId>maven-surefire-plugin</artifactId>
+             <configuration>
+               <!-- required to make MailMimeDecodeHeadersTest work on operating systems with a different default encoding -->
+               <argLine>-Dfile.encoding=UTF-8</argLine>
+             </configuration>
+         </plugin>
+      </plugins>
+    </build>
+
     <profiles>
         <profile>
             <id>jdk9-build</id>

-- 
To stop receiving notification emails like this one, please contact
"commits@camel.apache.org" <co...@camel.apache.org>.