Skip to content

Snapshot artifacts not resolved from remote repositories in MavenProjectInput #377

@maximiln

Description

@maximiln

Affected version

1.2.x

Bug description

When calculating project input checksums in MavenProjectInput, snapshot artifacts that are not present in the local repository fail to be resolved because the ArtifactRequest does not include remote repository information.

In src/main/java/org/apache/maven/buildcache/checksum/MavenProjectInput.java, the resolveArtifact method creates an ArtifactRequest but does not set the remote repositories on it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions