Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>The first step is finding out the name of the library you want to get. If it is a Java library, it is probably on Maven Central. To find out, go to <a href="http://search.maven.org" rel="noreferrer">Maven Central Search</a> and search for whatever library you're after. In this case, I went there and searched for JFreeChart. It gave me <a href="http://search.maven.org/#search%7Cga%7C1%7Cjfreechart" rel="noreferrer">this</a>. The jar you want is listed there. They are divided into three relevant portions: groupid, artifactid, and verison. The groupid is the part before the slash (/), the artifactid is the part after the slash, and the version is... well, the version. Put this together, and you have <code>[jfree/jfreechart "1.0.13"]</code>.</p> <p>If the library you're after is a Clojure library, it's probably on <a href="http://clojars.org" rel="noreferrer">clojars</a>, in which case you'll want to go there and search.</p> <p>To answer the part about dejcartes not being found, that's because it is an old and abandoned library that isn't managed by leiningen, cake, maven, or anything else. It isn't on any maven repository. You wont be able to find it there unless you put it there yourself which is a totally different question entirely.</p> <p>To answer your third question, leiningen has a <code>search</code> task for searching the various repos for things. Cake currently has a similar thing for searching clojars, but I'll probably rewrite it to be based off of the more general Leiningen code.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload