-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathbuild.sbt
53 lines (39 loc) · 1.36 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
import AssemblyKeys._
organization := "com.intel"
name := "kafka-yarn"
version := "0.0.1-SNAPSHOT"
description := "Kafka On Yarn"
homepage := Some(url("http://kkasravi.github.com/kafka-yarn"))
startYear := Some(2013)
licenses := Seq("Apache License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
organizationName := "Intel"
organizationHomepage := Some(url("http://intel.com"))
resolvers += "Hadoop" at "http://repo1.maven.org/maven2/"
libraryDependencies ++= Seq(
"org.apache.hadoop" % "hadoop-common" % "2.0.4-alpha",
"org.apache.hadoop" % "hadoop-yarn-common" % "2.0.4-alpha",
"org.apache.hadoop" % "hadoop-yarn-client" % "2.0.4-alpha"
)
EclipseKeys.withSource := true
assemblySettings
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case "plugin.xml" =>
MergeStrategy.first
case x if x startsWith "org/apache/jasper" =>
MergeStrategy.last
case x if x startsWith "javax/xml" =>
MergeStrategy.last
case x if x startsWith "javax/servlet" =>
MergeStrategy.last
case x if x startsWith "org/apache/commons" =>
MergeStrategy.last
case x if x startsWith "org/apache/xmlcommons" =>
MergeStrategy.last
case x if x startsWith "org/xml/sax" =>
MergeStrategy.last
case x if x startsWith "org/w3c/dom" =>
MergeStrategy.last
case x => old(x)
}
}