mirror of
https://github.com/apache/maven-mvnd.git
synced 2025-09-28 00:22:03 +00:00
Delete the test directory so that we can run "mvn install" without cleaning
This commit is contained in:
@@ -144,6 +144,7 @@ public class MvndTestExtension implements BeforeAllCallback, BeforeEachCallback,
|
|||||||
throw new IllegalStateException("rawProjectDir of @MvndTest must be set");
|
throw new IllegalStateException("rawProjectDir of @MvndTest must be set");
|
||||||
}
|
}
|
||||||
final Path testDir = Paths.get("target/mvnd-tests/" + className).toAbsolutePath();
|
final Path testDir = Paths.get("target/mvnd-tests/" + className).toAbsolutePath();
|
||||||
|
deleteDir(testDir);
|
||||||
Files.createDirectories(testDir);
|
Files.createDirectories(testDir);
|
||||||
final Path testExecutionDir;
|
final Path testExecutionDir;
|
||||||
if (TEMP_EXTERNAL.equals(rawProjectDir)) {
|
if (TEMP_EXTERNAL.equals(rawProjectDir)) {
|
||||||
|
Reference in New Issue
Block a user