Closed yurrriq closed 7 years ago
N.B. This may be an issue with build-maven
instead. I'm using this version.
Can you share an example of a project spec with a bad URL?
Sure, I'll make a minimal failing example. It could also be a problem with lein pom
.
Ok, so the problem arose when I patched my project.clj
to add :local-repo "home/.m2/repo"
and didn't use the hacked java
from lein-nix-build. That works for leiningen, but not for maven. I'll submit a patch to lein-nix-build instead. Thanks for inspiring me to look into it further. :smile:
I encountered this without :local-repo
in use, but with a <repository><url>
with a trailing /
in the path.
We may just want to prune those characters where present.
When using this on a Clojure project I had to do the following after generating
project-info.json
: