leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
restenb 2020-06-09T10:41:24.230300Z

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

restenb 2020-06-09T10:43:05.231200Z

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

2020-06-09T11:23:54.232800Z

@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

2020-06-09T11:24:13.233200Z

You can do lein -version

hlship 2020-06-09T20:25:55.236200Z

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

hlship 2020-06-09T20:25:59.236500Z

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

hlship 2020-06-09T20:27:44.236900Z

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

kaosko 2020-06-09T20:41:09.238500Z

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?

kaosko 2020-06-09T20:43:33.240100Z

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

hlship 2020-06-09T20:48:12.240200Z

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

hlship 2020-06-09T20:48:27.240400Z

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

hlship 2020-06-09T20:57:51.240600Z

But, still not getting it to work.

hlship 2020-06-09T22:00:47.240800Z

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

kaosko 2020-06-09T22:34:11.241100Z

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