anthonyvdotbe commented on issue #109: URL: https://github.com/apache/maven-clean-plugin/issues/109#issuecomment-2824925855
As mentioned above, this is a regression from 3.4.0, not an enhancement. The root cause is that, at least on Windows, `File::delete` deletes read-only files successfully, whereas `Files::delete` does not. The regression was introduced by the work on migrating to `java.nio.file` APIs: * e8fea70fbb0f1dc1dbc3db4c7dd6ae8fe55d6ce4 * 091570bba9ce6a20d6ba364f22e47909fc0342e2 * cb2127f8ddb531edb67de4d9ec99555470b39e81 * bf21c555349dab05837d131fdf2ca60c9bd06d41 @slawekjaranowski I'd argue that the burden should not be on the "victims" to provide a PR. Instead, I propose to revert the problematic commits and release version 3.4.2 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org