Fork me on GitHub
#leiningen
<
2020-01-15
>
Alex Miller (Clojure team)00:01:41

FYI, clj does support this config

ghaskins00:01:59

any guidance on this appreciated

mikerod00:01:43

@ghaskins I maybe could help if I understood what is special about gitlabs maven repo

ghaskins00:01:47

@mikerod my understanding is that it basically needs a personal-token added to the HTTP headers

ghaskins00:01:16

their examples of course cite raw maven <configuration> but I couldnt see a way to pass that to leiningen

ghaskins00:01:42

my assumption is it would need to be supported in the project/profiles.clj but maybe there is a way to pass maven settings.xml too?

ghaskins00:01:23

not sure why I didnt find that in my search, but thank you!

mikerod00:01:03

Wagons are the way to get ahold of the HTTP layer of the abstraction it seems. Hopefully the wagon above is already enough for your needs. Apparently it was not a very complex wagon to make

ghaskins00:01:11

yeah, i was trying to patch pomegranate myself, it was a bit hairy

ghaskins00:01:33

thank you very much, will give this a shot

mikerod00:01:01

No problem. Hope it works smoothly!

craftybones08:01:27

I have an alias in /.lein and I want to override that on a specific project. I see that the one in /.lein gets used, not the one in my project.clj. Is there a way to override?

paul a13:01:07

i've been playing lein uberjar; i was expecting that if i could cache and restore compiled code, then lein would be able to potentially reuse some of that compiled code in the next uberjar build (sort of like how make knows when things should be recompiled). instead, lein happily reused all of the old compiled code, even invalid code, and merely compiled namespaces that had not been compiled before. why does lein uberjar behave this way?

paul a14:01:36

fwiw, i do get that this is not necessarily an issue with lein uberjar, which works around this with the auto-clean feature.

vemv07:01:25

I guess you want something like tools.namespace.repl/refresh but for AOT :) i.e. something that looks at the modification dates of files, figures out a dependency subtree out of a modified file, etc I don't think that's a particularly explored area

paul a14:01:56

yeah, that's right. thanks for the reply!