forked from hbase-rdd/hbase-rdd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
86 lines (71 loc) · 3.03 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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
import SonatypeKeys._
sonatypeSettings
name := "hbase-rdd"
organization := "eu.unicredit"
version := "0.8.0"
crossScalaVersions := Seq("2.10.6", "2.11.8")
scalacOptions ++= Seq(
"-deprecation",
"-feature",
"-language:postfixOps",
"-language:implicitConversions",
"-language:reflectiveCalls"
)
org.scalastyle.sbt.ScalastylePlugin.Settings
resolvers ++= Seq(
"Cloudera repos" at "https://repository.cloudera.com/artifactory/cloudera-repos",
"Cloudera releases" at "https://repository.cloudera.com/artifactory/libs-release"
)
val sparkVersion = "1.5.0"
val hbaseVersion = "1.0.0-cdh5.5.2"
val hadoopVersion = "2.6.0-cdh5.5.2"
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % sparkVersion % "provided",
"org.apache.hbase" % "hbase-common" % hbaseVersion % "provided",
"org.apache.hbase" % "hbase-client" % hbaseVersion % "provided",
"org.apache.hbase" % "hbase-server" % hbaseVersion % "provided",
"org.json4s" %% "json4s-jackson" % "3.2.11" % "provided",
// for tests
"org.scalatest" %% "scalatest" % "2.2.4" % "test",
"org.apache.hbase" % "hbase-common" % hbaseVersion % "test" classifier "tests",
"org.apache.hbase" % "hbase-server" % hbaseVersion % "test" classifier "tests" exclude("org.mortbay.jetty", "servlet-api-2.5"),
"org.apache.hbase" % "hbase-hadoop-compat" % hbaseVersion % "test",
"org.apache.hbase" % "hbase-hadoop-compat" % hbaseVersion % "test" classifier "tests",
"org.apache.hbase" % "hbase-hadoop2-compat" % hbaseVersion % "test" exclude("javax.servlet", "servlet-api"),
"org.apache.hbase" % "hbase-hadoop2-compat" % hbaseVersion % "test" classifier "tests",
"org.apache.hadoop" % "hadoop-common" % hadoopVersion % "test" exclude("javax.servlet", "servlet-api"),
"org.apache.hadoop" % "hadoop-common" % hadoopVersion % "test" classifier "tests",
"org.apache.hadoop" % "hadoop-hdfs" % hadoopVersion % "test" exclude("javax.servlet", "servlet-api"),
"org.apache.hadoop" % "hadoop-hdfs" % hadoopVersion % "test" classifier "tests",
"org.apache.hadoop" % "hadoop-mapreduce-client-jobclient" % hadoopVersion % "test" classifier "tests" exclude("javax.servlet", "servlet-api")
)
fork in Test := true
publishMavenStyle := true
pomIncludeRepository := { x => false }
credentials += Credentials(Path.userHome / ".ivy2" / "sonatype.credentials")
pomExtra := {
<url>https://github.com/unicredit/hbase-rdd</url>
<licenses>
<license>
<name>Apache 2</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
</license>
</licenses>
<scm>
<connection>scm:git:github.com/unicredit/hbase-rdd</connection>
<developerConnection>scm:git:[email protected]:unicredit/hbase-rdd</developerConnection>
<url>github.com/unicredit/hbase-rdd</url>
</scm>
<developers>
<developer>
<id>andreaferretti</id>
<name>Andrea Ferretti</name>
<url>https://github.com/andreaferretti/</url>
</developer>
<developer>
<id>fralken</id>
<name>Francesco Montecuccoli Degli Erri</name>
<url>https://github.com/fralken/</url>
</developer>
</developers>
}