forked from databricks/spark-csv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
executable file
·63 lines (47 loc) · 1.71 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
59
60
61
62
63
name := "spark-csv"
version := "1.0.1"
organization := "com.databricks"
scalaVersion := "2.11.6"
crossScalaVersions := Seq("2.10.4", "2.11.6")
libraryDependencies += "org.apache.spark" %% "spark-sql" % "1.3.0" % "provided"
libraryDependencies += "org.apache.commons" % "commons-csv" % "1.1"
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.5" % "provided"
resolvers ++= Seq(
"Apache Staging" at "https://repository.apache.org/content/repositories/staging/",
"Typesafe" at "http://repo.typesafe.com/typesafe/releases",
"Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository"
)
publishMavenStyle := true
publishTo := {
val nexus = "https://oss.sonatype.org/"
if (version.value.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra := (
<url>https://github.com/databricks/spark-csv</url>
<licenses>
<license>
<name>Apache License, Verision 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>[email protected]:databricks/spark-csv.git</url>
<connection>scm:git:[email protected]:databricks/spark-csv.git</connection>
</scm>
<developers>
<developer>
<id>falaki</id>
<name>Hossein Falaki</name>
<url>http://www.falaki.net</url>
</developer>
</developers>)
sparkPackageName := "databricks/spark-csv"
sparkVersion := "1.3.0"
sparkComponents += "sql"
// Enable Junit testing.
// libraryDependencies += "com.novocode" % "junit-interface" % "0.9" % "test"
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.1" % "test"