circe-json-schema icon indicating copy to clipboard operation
circe-json-schema copied to clipboard

Unable to locate artifact despite adding jitpack resolver

Open ZackingIt opened this issue 4 years ago • 3 comments

Adding "io.circe" %% "circe-json-schema" % "0.1.0" to my dependencies does not work, although other circe packages like "io.circe" %% "circe-core" % "0.8.0" do work, which suggests that there's possibly some issue right now with the custom resolver.

I got around this issue by using the Maven version, "io.circe" % "circe-json-schema_2.13" % "0.1.0", but wanted to let you know the documented way of adding the package does not appear to be working for me.

ZackingIt avatar May 06 '20 20:05 ZackingIt

That's very strange, since %% should just be syntactic sugar for the version suffix. Can you share more information about your versions and build configuration?

travisbrown avatar May 07 '20 08:05 travisbrown

Actually, even base circe now does not work, below are some details from Build.scala file:

scalaVersion := "2.11.12" resolvers:

"clojars" at "https://clojars.org/repo/",
"jitpack.io" at "https://jitpack.io"),

ZackingIt avatar May 14 '20 01:05 ZackingIt

This is old, But for anyone else who finds their way here.

I belive the above issue is due to this package not being published for 2.11. In your maven configuration you specify 2.13 explicitly, but with jitpack you use %% wich translates to "io.circe" % "circe-json-schema_2.11" % "0.1.0" when used in combination with scalaVersion := "2.11.12"

zAPFy avatar Mar 13 '23 10:03 zAPFy