Closed rickie closed 1 year ago
Not a CLI bug so transferring it.
I'm running into the same issue, copying over my report from slack https://sdkman.slack.com/archives/CJTNQA94M/p1680886237947579 . It does seem to be searching in the wrong URL as @rickie mentioned.
shell
zsh 5.8 (x86_64-apple-darwin21.0)
sdkman version
SDKMAN!
script: 5.18.1
native: 0.2.2
dlcdn.apache.org
seems to only keep the latest minor versions:
https://dlcdn.apache.org/maven/maven-3/
@aalmiray Would switching to archive.apache.org
work?
Bummer. We definitely have to update the db.
in the meantime, is there a good way that I can install maven 3.8.7 directly and move it to a folder where sdkman can pick it up?
@helpermethod is there a way to batch update the maven candidate directly at the db or do we have to write a custom migration for it?
Recommended link is https://repo.maven.apache.org/maven2/org/apache/maven/apache-maven/
Hey all, I ran a migration that fixed all the URLs for maven. Please let me know if that does the trick for you.
Bug report We are unable to install Maven 3.8.7 with the SDKMAN CLI. It's probably using the wrong URL to try and download 3.8.7, namely:
Instead of:
To reproduce
System info