This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch maven-install-plugin-4.x
in repository https://gitbox.apache.org/repos/asf/maven-install-plugin.git

commit e3497804d3b5204d238ee7e18deb095632346cae
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Sat Nov 21 13:28:45 2026 +0100

    Use FileUtils.deleteDirectory in MINSTALL-205 setup
---
 src/it/MINSTALL-205/setup.groovy | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/it/MINSTALL-205/setup.groovy b/src/it/MINSTALL-205/setup.groovy
index e86e8bd..8c65e79 100644
--- a/src/it/MINSTALL-205/setup.groovy
+++ b/src/it/MINSTALL-205/setup.groovy
@@ -18,12 +18,12 @@
  */
 
 import java.io.*;
+import org.codehaus.plexus.util.*;
 
 // Clean up artifacts installed by previous runs
 File group = new File( localRepositoryPath, 
"org/apache/maven/its/install/minstall205" );
 if ( group.exists() ) {
-    group.eachFileRecurse { it.delete() }
-    group.delete()
+    FileUtils.deleteDirectory( group )
 }
 
 return true;

Reply via email to