title: How to publish jar to local repository?
body: <p>I have a library compiled to a jar (not an sbt project, no source code, just the jar file) that's not available on a repository.</p>
  
  <p>Is there a way to publish the jar locally so I can add the dependency using the     <code>libraryDependencies += "org.xxx" % "xxx" % "1.0"</code> notation? (I already know how to add the file to a project by copying it to the <code>lib</code> folder.)</p>