Fork me on GitHub
#leiningen
<
2020-06-09
>
restenb10:06:24

um. if I have JAVA_CMD environment variable set, leinfails to start, it seems to read JAVA_CMD incorrectly and just gives an "unrecognizable command" error

restenb10:06:05

is this expected? i just removed that variable and it was back to normal

mikerod11:06:54

@restenb perhaps you’re using a different versions of java than lein? But it’s normal for JVM to fail to start for cmds it doesn’t support

mikerod11:06:13

You can do lein -version

hlship20:06:55

I'm having trouble with :uberjar-merge-with under 2.9.3.

hlship20:06:59

:uberjar-merge-with {#"META-INF.*databind\.Module" [slurp
                                                      (fn [new old] new)
                                                      spit]}

hlship20:06:12

I've tried variations of the re, and verified that is is correct.

hlship20:06:27

Ah, it matches on the file name, not the full path.

hlship20:06:51

But, still not getting it to work.

hlship22:06:47

Hm. Ok, it's a name of a ZipEntry, which actually does look like a full path.

hlship20:06:44

This doesn't seem to be getting invoked, and I'm at a loss as to why.

kaosko20:06:09

Using lein 2.9.1 with some -SNAPSHOT dependencies in the project and lein just seems to ignore -U. It just seems to use whatever I have in the local maven repo unless I remove the dependency from there (or update version, same thing). has anyone run into this?

kaosko20:06:33

If I do lein -U deps, it just resolves the dependency to specific snapshot version I have in my local repo though there's a newer one in the remote. I've configured a corporate proxy repo. DEBUG=true doesn't reveal anything

kaosko22:06:11

seems like having gpg credentials there as the first option silently prevented the updates in CI builds. using environ credentials instead