title: How to declare Maven/Java library, e.g. JFreeChart, as dependency?
body: <p>I'm trying to add JFreeChart library as a dependency of a sbt project.</p>
  
  <p>I added the following to <code>build.sbt</code>:</p>
  
  <pre><code>libraryDependencies += "org.jfree" %% "jfreechart" % "1.0.14"
  </code></pre>
  
  <p>However, it doesn't work.</p>
  
  <p>The pom file at <a href="http://central.maven.org/maven2/org/jfree/jfreechart/1.0.14/jfreechart-1.0.14.pom" rel="nofollow">http://central.maven.org/maven2/org/jfree/jfreechart/1.0.14/jfreechart-1.0.14.pom</a> says:</p>
  
  <pre><code>&lt;artifactId&gt;jfreechart&lt;/artifactId&gt;
  &lt;groupId&gt;org.jfree&lt;/groupId&gt;
  &lt;version&gt;1.0.14&lt;/version&gt;
  </code></pre>
  
  <p>How can I use a maven library like this in sbt?</p>