Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

6
  • 4
    Compared to the other solutions this is so simple and it works! No need to install maven. Thanks. Commented Jul 28, 2013 at 0:16
  • 1
    How do you reference the resulting jar in a lein project file? Commented Sep 4, 2014 at 7:46
  • Like any other :dependencies [[project-name "version"]] Commented Sep 4, 2014 at 17:09
  • 1
    This works great on Windows as well. No need to install maven as has already been mentioned. I have tried it with IntelliJ + Cursive on Windows and it work perfectly. Did a "lein pom; lein jar; lein install" on the Windows command line. Commented Apr 11, 2016 at 13:59
  • 4
    You only need to do lein install. It will build the jar and pom for you. Commented Oct 25, 2017 at 0:19