in src/main/java/org/apache/maven/shared/verifier/Verifier.java [679:690]
public void deleteArtifacts(String gid) throws IOException {
String path;
if ("default".equals(localRepoLayout)) {
path = gid.replace('.', '/');
} else if ("legacy".equals(localRepoLayout)) {
path = gid;
} else {
throw new IllegalStateException("Unsupported repository layout: " + localRepoLayout);
}
FileUtils.deleteDirectory(new File(localRepo, path));
}