Include "spark-" prefix in project name (used when artifact is published).

This commit is contained in:
Ismael Juma 2011-09-26 22:41:07 +01:00
parent 28b5d5a2af
commit 3562db6374

View file

@ -33,7 +33,9 @@ object SparkBuild extends Build {
val slf4jVersion = "1.6.1"
def coreSettings = sharedSettings ++ Seq(libraryDependencies ++= Seq(
def coreSettings = sharedSettings ++ Seq(
name := "spark-core",
libraryDependencies ++= Seq(
"com.google.guava" % "guava" % "r09",
"log4j" % "log4j" % "1.2.16",
"org.slf4j" % "slf4j-api" % slf4jVersion,
@ -43,12 +45,18 @@ object SparkBuild extends Build {
"asm" % "asm-all" % "3.3.1",
"com.google.protobuf" % "protobuf-java" % "2.3.0",
"de.javakaffee" % "kryo-serializers" % "0.9"
)) ++ assemblySettings ++ Seq(test in Assembly := {})
)
) ++ assemblySettings ++ Seq(test in Assembly := {})
def replSettings = sharedSettings ++
Seq(libraryDependencies <+= scalaVersion("org.scala-lang" % "scala-compiler" % _))
def replSettings = sharedSettings ++ Seq(
name := "spark-repl",
libraryDependencies <+= scalaVersion("org.scala-lang" % "scala-compiler" % _)
)
def examplesSettings = sharedSettings ++ Seq(libraryDependencies += "colt" % "colt" % "1.2.0")
def examplesSettings = sharedSettings ++ Seq(
name := "spark-examples",
libraryDependencies += "colt" % "colt" % "1.2.0"
)
def bagelSettings = sharedSettings
def bagelSettings = sharedSettings ++ Seq(name := "spark-bagel")
}