Dependencies - Fundamentals!
It appears that my .m2 dependencies are not found on the classpath. Firing a repl might cause some downloading of packages that are already downloaded, which, later, cannot be found. My workaround was to add :deps as an alias, and call it. This worked, but, not work when I try to build. Any :required dependency is unfound. Can I work around this, or do I just need to fix this classpath issue, which I can't seem to fix? -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/b32349bf-4229-442d-b219-f1b0379173f1n%40googlegroups.com.
Re: Override deps
It really was that stoopid but, it needed a 2nd pair of eyes! Thanks. On Tuesday, 14 February 2023 at 01:04:13 UTC Alex Miller wrote: > There may be other things wrong, but hard to tell without more context of > your deps.edn. > > On Mon, Feb 13, 2023 at 7:02 PM Alex Miller wrote: > >> It looks like you misspelled ":override-deps" (two r's) ? >> >> On Mon, Feb 13, 2023 at 5:50 PM 'Tête à-tête' via Clojure < >> clo...@googlegroups.com> wrote: >> >>> :overide-deps >>> {edu.stanford.nlp/stanford-corenlp {:mvn/version "4.5.2"}} >>> >>> I've tried preventing corenlp 4.4.0 and, here, I'm insisting on 4.5.2! >>> >>> A framework that I use relies on corenlp but, I want deps to resolve to >>> the latest version only, so not backfill the m2 repo. >>> >>> >>> On Monday, 13 February 2023 at 23:27:38 UTC Alex Miller wrote: >>> >>>> Can you share an example deps.edn or some more information? Also, what >>>> Clojure CLI version are you using `clj --version`. >>>> >>>> Alex >>>> >>>> On Monday, February 13, 2023 at 7:14:20 AM UTC-6 >>>> deliver...@googlemail.com wrote: >>>> >>>>> My laptop is struggling for space and, I would like to override a >>>>> dependency, so that earlier versions aren't pulled to m2 repo. >>>>> >>>>> If it's :override-deps, I'm just doing it wrong! >>>>> >>>>> Whenever I boot a repl, it won't boot, unless it starts pulling a >>>>> half-gig of I-don't-want-this- old-version! >>>>> >>>>> >>>>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Clojure" group. >>> To post to this group, send email to clo...@googlegroups.com >>> Note that posts from new members are moderated - please be patient with >>> your first post. >>> To unsubscribe from this group, send email to >>> clojure+u...@googlegroups.com >>> For more options, visit this group at >>> http://groups.google.com/group/clojure?hl=en >>> --- >>> You received this message because you are subscribed to a topic in the >>> Google Groups "Clojure" group. >>> To unsubscribe from this topic, visit >>> https://groups.google.com/d/topic/clojure/g-Gy3Q7jHfk/unsubscribe. >>> To unsubscribe from this group and all its topics, send an email to >>> clojure+u...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/clojure/22215b6b-73ec-4f5d-ba4f-c24a3010b32fn%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/clojure/22215b6b-73ec-4f5d-ba4f-c24a3010b32fn%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/5c0ea998-d19f-469d-a0dc-c62f53f2c665n%40googlegroups.com.
Re: Override deps
:overide-deps {edu.stanford.nlp/stanford-corenlp {:mvn/version "4.5.2"}} I've tried preventing corenlp 4.4.0 and, here, I'm insisting on 4.5.2! A framework that I use relies on corenlp but, I want deps to resolve to the latest version only, so not backfill the m2 repo. On Monday, 13 February 2023 at 23:27:38 UTC Alex Miller wrote: > Can you share an example deps.edn or some more information? Also, what > Clojure CLI version are you using `clj --version`. > > Alex > > On Monday, February 13, 2023 at 7:14:20 AM UTC-6 deliver...@googlemail.com > wrote: > >> My laptop is struggling for space and, I would like to override a >> dependency, so that earlier versions aren't pulled to m2 repo. >> >> If it's :override-deps, I'm just doing it wrong! >> >> Whenever I boot a repl, it won't boot, unless it starts pulling a >> half-gig of I-don't-want-this- old-version! >> >> >> -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/22215b6b-73ec-4f5d-ba4f-c24a3010b32fn%40googlegroups.com.
Override deps
My laptop is struggling for space and, I would like to override a dependency, so that earlier versions aren't pulled to m2 repo. If it's :override-deps, I'm just doing it wrong! Whenever I boot a repl, it won't boot, unless it starts pulling a half-gig of I-don't-want-this- old-version! -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/clojure/be38c231-3e63-4c69-8547-35cc644f216cn%40googlegroups.com.