Pierre Villard created NIFI-1806:
------------------------------------
Summary: Add UTF-8 for file enconding in unit tests during maven
build
Key: NIFI-1806
URL: https://issues.apache.org/jira/browse/NIFI-1806
Project: Apache NiFi
Issue Type: Bug
Components: Tools and Build
Affects Versions: 0.6.1
Reporter: Pierre Villard
Priority: Minor
Following discussion here :
https://github.com/apache/nifi/pull/366#discussion_r60829511
For some tests, it seems to be necessary to add the following in pom file:
{code:title=pom.xml|borderStyle=solid}
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>-Dfile.encoding=UTF-8</argLine>
</configuration>
</plugin>
</plugins>
</build>
{code}
Ideally this could be added in the parent pom but it must be ensured that this
would not affect other components.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)