code: public void deleteFile( File file )
              throws MojoExecutionException
      {
          if ( file.exists() && !file.delete() )
          {
              throw new MojoExecutionException( "Could not delete file: " + file );
          }
      }
docs: {@inheritDoc}