Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Maven classifier is not generated correctly in artifact URL #316

Open
jcallin opened this issue Jul 26, 2022 · 1 comment
Open

Maven classifier is not generated correctly in artifact URL #316

jcallin opened this issue Jul 26, 2022 · 1 comment

Comments

@jcallin
Copy link

jcallin commented Jul 26, 2022

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
@jcallin
Copy link
Author

jcallin commented Jul 26, 2022

Might be related to #295

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant