desruisseaux opened a new pull request, #250:
URL: https://github.com/apache/maven-clean-plugin/pull/250

   Add a `force` configuration option for deleting read-only files and 
directories. This is required because `java.nio.file.Files.delete` does not 
remove the read-only attribute, contrarily to `java.io.File.delete`. Note: the 
3.4.0 version of the clean plugin, which was using `java.io.File`, may also not 
work anymore with read-only files starting with Java 25 if 
[JDK-8355954](https://bugs.openjdk.org/browse/JDK-8355954) is fixed. Therefore, 
some action other than reverting commits is necessary.
   
   An open question is whether the plugin should delete read-only files by 
default, or only if the user requested it. The latter is more conservative and 
is the standard behaviour of Unix commands such as `rm`. Furthermore, 
JDK-8355954 suggests that silent deletion of read-only files was an unintended 
bug rather than a feature.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to