private void setExclusions(final Collection<org.sonatype.aether.graph.Exclusion> exclusions)
{
List<Exclusion> result = new ArrayList<Exclusion>();
for (org.sonatype.aether.graph.Exclusion exclusion : exclusions)
{
Exclusion temp = new Exclusion();
temp.setArtifactId(exclusion.getArtifactId());
temp.setGroupId(exclusion.getGroupId());
result.add(temp);
}
super.setExclusions(result);
}