This commit makes Spark invocation saner by using an assembly JAR to find all of Spark's dependencies instead of adding all the JARs in lib_managed. It also packages the examples into an assembly and uses that as SPARK_EXAMPLES_JAR. Finally, it replaces the old "run" script with two better-named scripts: "run-examples" for examples, and "spark-class" for Spark internal classes (e.g. REPL, master, etc). This is also designed to minimize the confusion people have in trying to use "run" to run their own classes; it's not meant to do that, but now at least if they look at it, they can modify run-examples to do a decent job for them. As part of this, Bagel's examples are also now properly moved to the examples package instead of bagel.
19 lines
794 B
Scala
19 lines
794 B
Scala
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/"
|
|
|
|
resolvers += "Spray Repository" at "http://repo.spray.cc/"
|
|
|
|
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.9.1")
|
|
|
|
addSbtPlugin("com.typesafe.sbteclipse" % "sbteclipse-plugin" % "2.2.0")
|
|
|
|
addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.5.1")
|
|
|
|
// For Sonatype publishing
|
|
//resolvers += Resolver.url("sbt-plugin-releases", new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns)
|
|
|
|
//addSbtPlugin("com.jsuereth" % "xsbt-gpg-plugin" % "0.6")
|
|
|
|
addSbtPlugin("net.virtual-void" % "sbt-dependency-graph" % "0.7.3")
|