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

Dependency (malli) no longer available in Maven #9

Open
leifericf opened this issue Oct 25, 2023 · 2 comments
Open

Dependency (malli) no longer available in Maven #9

leifericf opened this issue Oct 25, 2023 · 2 comments

Comments

@leifericf
Copy link

leifericf commented Oct 25, 2023

I've added kube-api to my deps.edn like so:

kube-api/kube-api {:mvn/version "0.1.0-SNAPSHOT"}

Upon starting my REPL via VS Code with Calva, it downloads successfully.

However, I get this error when the REPL starts up:

⚡️ Starting the REPL ⚡️ using the below command line:
pushd /Users/my-user/Code/my-project ; clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"1.0.0"},cider/cider-nrepl {:mvn/version,"0.28.5"}}}'  -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]" ; popd
Error building classpath. Could not find artifact metosin:malli:jar:c80215c6bb1c8907345702f9c82eb597e1b753e3 in central (https://repo1.maven.org/maven2/)
Jack-in process exited. Status: 1

It seems like the version of malli (link) has been deleted from Maven.

@leifericf
Copy link
Author

Interesting! I added this to my deps.edn:

metosin/malli {:mvn/version "0.7.0"}

And now it works! That's odd since kube-api already includes that dependency as well.

@leifericf
Copy link
Author

leifericf commented Oct 25, 2023

Huh! Peculiar. The same issue occured with another dependency:

⚡️ Starting the REPL ⚡️ using the below command line:
pushd /Users/my-user/Code/my-project ; clojure -Sdeps '{:deps {nrepl/nrepl {:mvn/version,"1.0.0"},cider/cider-nrepl {:mvn/version,"0.28.5"}}}'  -m nrepl.cmdline --middleware "[cider.nrepl/cider-middleware]" ; popd
Error building classpath. Could not find artifact org.jetbrains.jediterm:jediterm-pty:jar:2.31 in central (https://repo1.maven.org/maven2/)
Jack-in process exited. Status: 1

Perhaps there's something funky on my machine or with VS Code or Calva.

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

1 participant