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/28 20:04:13 UTC

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

     [ https://issues.apache.org/jira/browse/NIFI-1806?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pierre Villard reassigned NIFI-1806:
------------------------------------

    Assignee: Pierre Villard

> 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
>            Assignee: Pierre Villard
>            Priority: Minor
>              Labels: build, maven, test
>
> 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)