in src/main/java/org/apache/maven/shared/verifier/util/ResourceExtractor.java [39:49]
public static File simpleExtractResources(Class<?> cl, String resourcePath) throws IOException {
String tempDirPath = System.getProperty("maven.test.tmpdir", System.getProperty("java.io.tmpdir"));
File tempDir = new File(tempDirPath);
File testDir = new File(tempDir, resourcePath);
FileUtils.deleteDirectory(testDir);
testDir = ResourceExtractor.extractResourcePath(cl, resourcePath, tempDir, false);
return testDir;
}