import java.io.*; import java.util.*; import org.codehaus.plexus.util.*; File file = new File( localRepositoryPath, "org/apache/maven/its/install/arj" ); System.out.println( "Deleting " + file ); FileUtils.deleteDirectory( file ); return true;