Filter duplicates from resolved Maven artifacts.

No need to make classpaths harder to read than they already are.