Closed
Description
It calls getCredentials()
which has an unwanted side-effect:
If no credentials have been assigned to this repository, an empty set of username and password credentials is assigned to this repository and returned.
The empty credentials may then cause failures when trying to resolve dependencies from a repository that does not require credentials. The failure occurs because "Username must not be null!".