leiningen

N.B. The maintainers are on #leiningen on Libera chat IRC. Go there for direct support/bug reports.
Crispin 2020-07-11T09:09:50.322800Z

Is there an easy way to add a custom downloaded jar to the classpath leiningen is using?

jumar 2020-07-11T11:30:58.323500Z

@retrogradeorbit install it in your maven repo. You want to do it anyway to make the build more reproducible

Crispin 2020-07-11T13:36:48.323800Z

how do I install just a lone jar?

Crispin 2020-07-11T13:37:13.324300Z

normally I'd have a maven project file and could go mvn install

Crispin 2020-07-11T13:37:33.324700Z

but there is no project here, just a jar

alexmiller 2020-07-11T14:31:49.325Z

you can still mvn install just a jar

alexmiller 2020-07-11T14:33:05.325400Z

you just have to tell it what coords to use

alexmiller 2020-07-11T14:35:05.325800Z

mvn install:install-file -Dfile=<path-to-file> -DgroupId=<group-id> -DartifactId=<artifact-id> -Dversion=<version> -Dpackaging=<packaging>

👍 1