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

Pierre Villard resolved NIFI-1806.
----------------------------------
    Resolution: Not A Bug

> 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)

Reply via email to