this.log = log;
Clazzpath cp = new Clazzpath();
ClazzpathUnit artifactUnit =
cp.addClazzpathUnit( new FileInputStream( project.getArtifact().getFile() ), project.toString() );
for ( Artifact dependency : project.getArtifacts() )
{
addDependencyToClasspath( cp, dependency );
}
removable = cp.getClazzes();
removePackages( artifactUnit );
removable.removeAll( artifactUnit.getClazzes() );
removable.removeAll( artifactUnit.getTransitiveDependencies() );
removeSpecificallyIncludedClasses( project, simpleFilters == null
? Collections.<SimpleFilter>emptyList()
: simpleFilters );
}