this post was submitted on 24 Oct 2023
1 points (100.0% liked)

Lisp

53 readers
3 users here now

founded 1 year ago
MODERATORS
 

Hi all

I have this code

{:path ["src"]
 :deps {org.clojure/clojure {:mvn/version "1.11.1"}
        org.clojure/java.jdbc {:mvn/version "0.7.12"}
        mysql/mysql-connector-java {:mvn/version "8.0.30"}}}

Import changes work.

But if I try to change the mysql-connector-java to any versions higher than 8.0.30, it will throw an error.

{:path ["src"]
 :deps {org.clojure/clojure {:mvn/version "1.11.1"}
        org.clojure/java.jdbc {:mvn/version "0.7.12"}
        mysql/mysql-connector-java {:mvn/version "8.0.33"}}}

The error - Could not find artifact mysql:mysql-connector-java:jar:8.0.33 in central (https://repo1.maven.org/maven2/)

If I use the version 8.0.30, it's released on 25th July, 2022.

Does this mean I can't use latest libraries from maven?

top 3 comments
sorted by: hot top controversial new old
[–] daveliepmann@alien.top 1 points 1 year ago (1 children)
[–] ericchuawc@alien.top 1 points 1 year ago (1 children)

That makes sense, so far import seems to work, thanks again.

[–] daveliepmann@alien.top 1 points 1 year ago

That's great, cheers