Sometimes you just can’t help having a “random 3rd part JAR file” in your project. The best practice is, of course, to upload it to your preferred Maven-compatible repository via whatever service or software you use for all your in-house shared artifacts. But sometimes you just want to play with that JAR file locally, or you haven’t gotten around to running your own shared repository.
If you’re using Leiningen, you’ll probably reach for the excellent
lein-localrepo which lets you “install” your random JAR file into your local Maven cache (in
What do you do if you’re using Boot instead?