Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate artifact despite adding jitpack resolver #55

Open
ZackingIt opened this issue May 6, 2020 · 3 comments
Open

Unable to locate artifact despite adding jitpack resolver #55

ZackingIt opened this issue May 6, 2020 · 3 comments

Comments

@ZackingIt
Copy link

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.

@travisbrown
Copy link
Member

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?

@ZackingIt
Copy link
Author

ZackingIt commented May 14, 2020

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"),

@zAPFy
Copy link

zAPFy commented Mar 13, 2023

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants