-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
31 lines (28 loc) · 1.16 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
lazy val commonSettings = Seq(
name := "tempas-archivespark",
organization := "de.l3s",
version := "1.0.1",
scalaVersion := "2.11.8",
fork := true
)
lazy val tempas_archivespark = (project in file(".")).
settings(commonSettings: _*).
settings(
libraryDependencies ++= Seq(
"org.apache.spark" %% "spark-core" % "2.2.0" % "provided" excludeAll(
ExclusionRule(organization = "org.apache.httpcomponents", name = "httpclient"),
ExclusionRule(organization = "org.apache.httpcomponents", name = "httpcore")),
"org.apache.hadoop" % "hadoop-client" % "2.6.0" % "provided" excludeAll(
ExclusionRule(organization = "org.apache.httpcomponents", name = "httpclient"),
ExclusionRule(organization = "org.apache.httpcomponents", name = "httpcore")),
"com.github.helgeho" %% "archivespark" % "2.7" % "provided"
),
resolvers ++= Seq(
Resolver.mavenLocal
)
)
assemblyOption in assembly := (assemblyOption in assembly).value.copy(includeScala = false)
assemblyMergeStrategy in assembly := {
case PathList("META-INF", xs @ _*) => MergeStrategy.discard
case _ => MergeStrategy.first
}