Skip to content

Bomr may cause dependency resolution to fail with "Username must not be null!" #45950

@wilkinsona

Description

@wilkinsona
Member

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!".

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

    Development

    No branches or pull requests

      Participants

      @wilkinsona

      Issue actions

        Bomr may cause dependency resolution to fail with "Username must not be null!" · Issue #45950 · spring-projects/spring-boot