title: scala create and use local library
body: <p>I am trying to create a local library which contains a class</p>
  
  <p>myproject.scala:</p>
  
  <pre><code>object test {
      def info(message: String): Unit = println(s"INFO: $message")
  }
  </code></pre>
  
  <p>build.sbt:</p>
  
  <pre><code>name := "MyProject"
  version := "0.1"
  organization := "MyCorp"
  scalaVersion := "2.11.0"
  sbtVersion := "0.13"
  </code></pre>
  
  <p>I ran sbt clean compile publishLocal and I see the jar in my local ivy2 directory.  What I'm unsure about is how to now use that library in another project.</p>
  
  <p>do I added <code>libraryDependencies += "MyCorp"%"myproject_2.11"%"0.1"</code>
  to the second project's sbt, and I see it in the classPath when I print it out in the repl. The problem is when I try 
  import MyCorp.myproject</p>
  
  <p>I get an error not found. I'm sure I'm missing something simple, but it's driving me nuts. </p>