Maven 2 & 3

maven-model RepositoryBase.equals() causes ClassCastException