title: error while running sbt assembly : sbt deduplication error
body: <p>I am facing the exact issue as described in the below post and the suggested answer is not helping.
  <a href="https://stackoverflow.com/questions/25144484/sbt-assembly-deduplication-found-error/25147568#25147568">sbt-assembly: deduplication found error</a></p>
  
  <pre><code>[error] (*:assembly) deduplicate: different file contents found in the following:
  [error] C:\Users\xxx\.ivy2\cache\org.eclipse.jetty.orbit\javax.transaction\orbits\javax.transaction-1.1.1.v201105210645.jar:META-INF/ECLIPSEF.RSA
  [error] C:\Users\xxx\.ivy2\cache\org.eclipse.jetty.orbit\javax.servlet\orbits\javax.servlet-3.0.0.v201112011016.jar:META-INF/ECLIPSEF.RSA
  [error] C:\Users\xxx\.ivy2\cache\org.eclipse.jetty.orbit\javax.mail.glassfish\orbits\javax.mail.glassfish-1.4.1.v201005082020.jar:META-INF/ECLIPSEF.RSA
  [error] C:\Users\xxx\.ivy2\cache\org.eclipse.jetty.orbit\javax.activation\orbits\javax.activation-1.1.0.v201105071233.jar:META-INF/ECLIPSEF.RSA
  [error] Total time: 14 s, completed Sep 9, 2014 5:21:01 PM
  </code></pre>
  
  <p>my build.sbt file contains</p>
  
  <pre><code>name := "Simple"
  
  version := "0.1.0"
  
  scalaVersion := "2.10.4"
  
  libraryDependencies ++= Seq(
    "org.twitter4j" % "twitter4j-stream" % "3.0.3"
  )
  
  //libraryDependencies += "org.apache.spark" %% "spark-core" % "1.0.2"
  
  libraryDependencies += "org.apache.spark" %% "spark-streaming" % "1.0.2"
  
  libraryDependencies += "org.apache.spark" %% "spark-streaming-twitter" % "1.0.2"
  
  libraryDependencies += "com.github.nscala-time" %% "nscala-time" % "0.4.2"
  
  libraryDependencies ++= Seq(
      ("org.apache.spark"%%"spark-core"%"1.0.2").
      exclude("org.eclipse.jetty.orbit", "javax.servlet").
      exclude("org.eclipse.jetty.orbit", "javax.transaction").
      exclude("org.eclipse.jetty.orbit", "javax.mail").
      exclude("org.eclipse.jetty.orbit", "javax.activation").
      exclude("commons-beanutils", "commons-beanutils-core").
      exclude("commons-collections", "commons-collections").
      exclude("commons-collections", "commons-collections").
      exclude("com.esotericsoftware.minlog", "minlog")
  )
  
  resolvers += "Akka Repository" at "http://repo.akka.io/releases/"
  
      mergeStrategy in assembly &lt;&lt;= (mergeStrategy in assembly) { (old) =&gt;
      {
          case PathList("javax", "servlet", xs @ _*)         =&gt; MergeStrategy.first
          case PathList("javax", "transaction", xs @ _*)     =&gt; MergeStrategy.first
          case PathList("javax", "mail", xs @ _*)     =&gt; MergeStrategy.first
          case PathList("javax", "activation", xs @ _*)     =&gt; MergeStrategy.first
          case PathList(ps @ _*) if ps.last endsWith ".html" =&gt; MergeStrategy.first
          case "application.conf" =&gt; MergeStrategy.concat
          case "unwanted.txt"     =&gt; MergeStrategy.discard
          case x =&gt; old(x)
          }
      }
  </code></pre>
  
  <p>Any pointers on how to fix the above issue?</p>