Fork me on GitHub

yeah I would really like to explore tools.deps.alpha a bit more, expecially the resolver part


@alexmiller Can you think of a case where clj on a deps.edn file wouldn't resolve a dependency that tools.deps.alpha would resolve against a deps.edn file? In particular, something is going off to another repo. pack only considers the deps.edn, and doesn't merge the system one. For some reason it works if I add maven central, but what does that have to do with glassfish?

Alex Miller (Clojure team)13:05:47

the install deps.edn includes the central and clojars maven repos

Alex Miller (Clojure team)13:05:17

other than that, shouldn’t be any different


@alexmiller I guess another way of describing this would be: - I run clj against a deps.edn file - so everything should end up in .m2 - I run tools.deps.alpha against the same deps.edn and it fails as more needing more resolving

Alex Miller (Clojure team)13:05:51

doesn’t make sense to me


If I add the :mvn/repos to deps.edn, somehow it allows it to fetch from glassfish repo


I'm not really sure what is going on here, and why this either needs to run every time (uncacheable) or doesn't get picked up by clj

Alex Miller (Clojure team)13:05:03

I guess because once it’s in central they want you to get it from there?


yeah, real weird.


This definitely highlights that I need a good way to do -Srepro without the local deps.edn file ever being picked up though 😉


Or rather, I need a way to pick up only the system deps.edn