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