Fork me on GitHub
#jackdaw
<
2023-12-21
>
Stoating17:12:08

Edit: Solved. See 'Solution' below. Problem: "Error building classpath. Could not find artifact io.confluent:kafka-json-schema-serializer:jar:7.3.2 in central (https://repo1.maven.org/maven2/)" Description: I was recently trying to get a project started using jackdaw and ran into a dependency issue. There was a consistent error when trying to install jackdaw in my deps.edn project: "Error building classpath. Could not find artifact io.confluent:kafka-json-schema-serializer:jar:7.3.2 in central (https://repo1.maven.org/maven2/)" Going to the clojars site (https://clojars.org/fundingcircle/jackdaw/versions/0.9.12) I notice that the following dependency links are throwing a '404' error, which leads me to think that this might be an issue others have also experienced. • http://search.maven.org/#artifactdetails%7Cio.confluent%7Ckafka-json-schema-serializer%7C7.3.2%7Cjarhttp://search.maven.org/#artifactdetails%7Cio.confluent%7Ckafka-avro-serializer%7C7.3.2%7Cjarhttp://search.maven.org/#artifactdetails%7Cio.confluent%7Ckafka-schema-registry-client%7C7.3.2%7Cjar Is this a known issue with a quick-fix or is there a standard manual workaround for dependency issues in Clojure projects? Thank you all in advance 🙂 ------------------------------------------ Solution: add the following to your deps.edn: :mvn/repos {"confluent" {:url "https://packages.confluent.io/maven/"}} the packages at the correct versions are available here: https://packages.confluent.io/maven/io/confluent/ Additionally, if using jackdaw.test, there is a dependency on aleph v0.6.1 which may need to also be added to your deps.edn. Note: neither of these issues appeared when duplicating the project using lein.