in src/main/java/org/apache/maven/resolver/internal/ant/types/Authentication.java [55:60]
public void setRefid(Reference ref) {
if (username != null || password != null || privateKeyFile != null || passphrase != null) {
throw tooManyAttributes();
}
super.setRefid(ref);
}