title: SBT: cannot resolve dependency that used to work before
body: <p>My build.sbt looks like this:</p>
  
  <pre><code>import sbt._
  
  name := "spark-jobs"
  
  version := "0.1"
  
  scalaVersion := "2.11.8"
  
  resolvers += "Spark Packages Repo" at "https://dl.bintray.com/spark-packages/maven"
  
  // additional libraries
  libraryDependencies ++= Seq(
    "org.apache.spark" % "spark-core_2.11" % "2.2.0" % "provided",
    "org.apache.spark" % "spark-streaming_2.11" % "2.2.0",
    "org.apache.spark" % "spark-sql_2.11" % "2.2.0" % "provided",
    "org.apache.spark" % "spark-streaming-kafka-0-10_2.11" % "2.2.0"
  )
  
  assemblyMergeStrategy in assembly := {
    case PathList("META-INF", xs @ _*) =&gt; MergeStrategy.discard
    case x =&gt; MergeStrategy.first
  }
  </code></pre>
  
  <p>This used to work until I decided to see what happens if I add another <code>% "provided"</code> at the end of <code>spark-streaming_2.11</code>. It failed to resolve dependency, I moved on and reverted the change. But, it seems to give me the exception after that as well. Now my build.sbt looks exactly like it used to when everything worked. Still, it gives me this exception :</p>
  
  <pre><code>[error] (*:update) sbt.librarymanagement.ResolveException: unresolved dependency: org.apache.spark#spark-streaming_2.11;2.2.0: org.apache.spark#spark-parent_2.11;2.2.0!spark-parent_2.11.pom(pom.original) origin location must be absolute: file:/home/aswin/.m2/repository/org/apache/spark/spark-parent_2.11/2.2.0/spark-parent_2.11-2.2.0.pom
  </code></pre>
  
  <p>SBT's behavior is a bit confusing to me. Could someone guide me to as why this could happen? Any good blogs/ resources to understand how exactly SBT works under the hood is also welcome.</p>
  
  <p>Here is my project/assembly.sbt:</p>
  
  <pre><code>addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.6")
  </code></pre>
  
  <p>project/build.properties:</p>
  
  <pre><code>sbt.version = 1.0.4
  </code></pre>
  
  <p>project/plugins.sbt:</p>
  
  <pre><code>resolvers += Resolver.url("artifactory", url("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases"))(Resolver.ivyStylePatterns)
  
  resolvers += "Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
  </code></pre>
  
  <p>Thank you!</p>