in a particular project, I had to use a 3’rd party jar given to me. I didnt want to go through the whole business of uploading the JAR to clojars and trying to manage it.
An alternative was to install it in my maven local directory using mvn install:install-file . But I wanted something simpler.
The problem is that if you copy a JAR file into your lib directory and check it into revision control, the moment someone clones the repository and runs lein deps, it will destroy-recreate the lib directory causing the 3’rd party jars to be lost.
The way I figured to make it work was to use the :disable-implicit-clean true variable, which will prevent delete-recreate of the lib directory.
A hack.. but it works.