-
Notifications
You must be signed in to change notification settings - Fork 10
/
build.sbt
59 lines (42 loc) · 1.53 KB
/
build.sbt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
name := "spark-mongodb-connector"
version := "0.6.0-SNAPSHOT"
organization := "com.github.spirom"
scalaVersion := "2.10.4"
publishMavenStyle := true
publishArtifact in Test := false
pomIncludeRepository := { x => false }
// core dependencies
libraryDependencies += "org.apache.spark" %% "spark-core" % "1.4.0" % "provided"
libraryDependencies += "org.apache.spark" %% "spark-sql" % "1.4.0" % "provided"
libraryDependencies += "org.mongodb" %% "casbah" % "2.7.3"
// testing stuff below here
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.4" % "test"
libraryDependencies += "de.flapdoodle.embed" % "de.flapdoodle.embed.mongo" % "1.46.1" % "test"
parallelExecution in Test := false
publishTo <<= version { v: String =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra :=
<url>http://github.com/spirom/spark-mongodb-connector</url>
<licenses>
<license>
<name>Apache 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>git@github.com:spirom/spark-mongodb-connector.git</url>
<connection>scm:git:git@github.com:spirom/spark-mongodb-connector.git</connection>
</scm>
<developers>
<developer>
<id>spirom</id>
<name>Spiro Michaylov</name>
<url>https://github.com/spirom</url>
</developer>
</developers>