in src/main/java/org/apache/maven/plugins/clean/Cleaner.java [500:511]
synchronized void init(Path fastDir, Path dir) {
if (Files.isDirectory(fastDir)) {
try {
try (Stream<Path> children = Files.list(fastDir)) {
children.forEach(this::doDelete);
}
} catch (IOException e) {
throw new RuntimeException(e);
}
}
doDelete(dir);
}