Skip to content

checkUnusedConstraints fails before verifyLocks fails, obscuring root cause of errors  #922

Open
@gatesn

Description

@gatesn

What happened?

checkUnusedConstraints task was failing in CI even though it was succeeding locally.

What did you want to happen?

The root cause was that I hadn't configured the username/password for my Maven repo. This wasn't obvious from the checkUnusedConstraints failure (claiming the pin in versions.props was unused), but was obvious from the failure of verifyLocks (claiming username should not be null).

I think there should be a task dependency from checkUnusedConstraints onto verifyLocks, ensuring that the resolution succeeds before checking for unused things.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions