final Project project = new Project();
project.setBasedir(getProject().getBasedir().getPath());
project.addBuildListener(new MvnLogBuildListener(getLog()));
project.init();
// delete just the snapshot and the target/clover directory
final File snapshotFile = new ConfigUtil(this).resolveSnapshotFile(snapshot);
removeFile(snapshotFile, project);
removeDir(new File(this.cloverOutputDirectory), project);
}