You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by "Pierre Villard (JIRA)" <ji...@apache.org> on 2016/04/23 18:07:12 UTC

[jira] [Created] (NIFI-1806) Add UTF-8 for file enconding in unit tests during maven build

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)