[ 
https://issues.apache.org/jira/browse/MCLEAN-55?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17958726#comment-17958726
 ] 

Olivier Lamy commented on MCLEAN-55:
------------------------------------

This project has moved from Jira to GitHub Issues. This issue was migrated to 
[apache/maven-clean-plugin#227|https://github.com/apache/maven-clean-plugin/issues/227].
 

> maven clean seems to use old java.io API to clean the target directory
> ----------------------------------------------------------------------
>
>                 Key: MCLEAN-55
>                 URL: https://issues.apache.org/jira/browse/MCLEAN-55
>             Project: Maven Clean Plugin (Moved to GitHub Issues)
>          Issue Type: Bug
>    Affects Versions: 2.5
>            Reporter: Mark
>            Assignee: Kristian Rosenvold
>            Priority: Major
>             Fix For: 2.6.1
>
>
> Problem: the old java.io API cannot handle filenames that have a bad 
> encoding, ie. iso-8859-1 encoded umlauts when running with LC_ALL=*.UTF-8.
> To reproduce the problem do:
> git clone https://github.com/jjYBdx4IL/filenameenc.git
> cd filenameenc
> mvn test
> mvn clean # <- produces an error when trying to remove target/
> The example itself demonstrates the problem and shows a solution by using 
> java.nio.Files.newDirectoryStream().



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to