mill
mill copied to clipboard
Use maven-metadata.xml to find out dependency's pom
Actually, Mill seems to pull dependencies by directly building an URL to the supposed pom. However, this method doesn't work on some repositories like for Spigot dependencies.
Mill should first pull the first maven-metadata.xml (example) at <repoUrl>/<group separated by />/<artifactId>/maven-metadata.xml
to retrieve the version's metadata file (example) and get the jar name from it.
Mill does not access the Maven repository directly, but uses the coursier API (https://get-coursier.io/) for it. So, this is an upstream issue and should be reported there.
FTR, I asked in the coursier discussions: https://github.com/coursier/coursier/discussions/1945
Ok, I was writing it but you were too fast.
@Iltotore Can you show what files mill (/coursier) tries to download and also show the exact failure? What files did you expect it to download instead?
Hello @lefou, I moved this issue to coursier/coursier. The files you're asking are at the same place at sent maven metadata in the first message.