-
Notifications
You must be signed in to change notification settings - Fork 99
/
build.sbt
67 lines (53 loc) · 1.96 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
64
65
66
67
name := "spark-sftp"
organization := "com.springml"
scalaVersion := "2.11.8"
sparkVersion := "2.3.0"
spName := "springml/spark-sftp"
version := "1.1.4"
// Dependent libraries
libraryDependencies ++= Seq(
"com.springml" % "sftp.client" % "1.0.3",
"org.mockito" % "mockito-core" % "2.0.31-beta",
"com.databricks" % "spark-xml_2.11" % "0.4.1"
)
// used spark components
sparkComponents += "sql"
// Repositories
resolvers += "Spark Package Main Repo" at "https://dl.bintray.com/spark-packages/maven"
// Spark packages
spDependencies += "com.databricks/spark-avro_2.11:3.2.0"
// Test dependencies
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.1" % "test"
libraryDependencies += "org.apache.avro" % "avro-mapred" % "1.7.7" % "test" exclude("org.mortbay.jetty", "servlet-api")
libraryDependencies += "org.apache.spark" %% "spark-hive" % sparkVersion.value % "test"
spIgnoreProvided := true
// licenses := Seq("Apache-2.0" -> url("http://opensource.org/licenses/Apache-2.0"))
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
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/springml/spark-sftp</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>
<connection>scm:git:github.com/springml/spark-sftp</connection>
<developerConnection>scm:git:[email protected]:springml/spark-sftp</developerConnection>
<url>github.com/springml/spark-sftp</url>
</scm>
<developers>
<developer>
<id>springml</id>
<name>Springml</name>
<url>http://www.springml.com</url>
</developer>
</developers>)