Skip to content

Maven classifier is not generated correctly in artifact URL #316

Description

@jcallin

If I depend on io.netty.netty-transport-native-epoll, Coursier will try and resolve the artifact without an _ in the linux-aarch64 classifier. If I manually go to the URL and insert an _ between aarch and 64, the artifact can be found. We can see it exists at https://repo.maven.apache.org/maven2/io/netty/netty-transport-native-epoll/4.1.79.Final/netty-transport-native-epoll-4.1.79.Final-linux-aarch_64.jar

Here's the error I encounter

java.lang.RuntimeException: we could not download the artifact io.netty:netty-transport-native-epoll:jar:linux-aarch64:4.1.79.Final to compute the hash for digest type Sha1 with error com.github.johnynek.bazel_deps.CoursierResolver$FileErrorException: not found: https://repo.maven.apache.org/maven2/io/netty/netty-transport-native-epoll/4.1.79.Final/netty-transport-native-epoll-4.1.79.Final-linux-aarch64.jar

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions