forked from linkedin/dr-elephant
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
50 lines (39 loc) · 1.85 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
import play.Project._
name := "dr-elephant"
version := "1.0.0"
javacOptions in Compile ++= Seq("-source", "1.6", "-target", "1.6")
libraryDependencies ++= Seq(
javaJdbc,
javaEbean,
cache,
"commons-io" % "commons-io" % "2.4",
"mysql" % "mysql-connector-java" % "5.1.22",
"org.apache.hadoop" % "hadoop-auth" % "2.3.0",
"org.apache.commons" % "commons-email" % "1.3.2",
"org.codehaus.jackson" % "jackson-mapper-asl" % "1.7.3",
"org.jsoup" % "jsoup" % "1.7.3",
// The following two dependencies are pulled in by the metrics library.
"org.apache.avro" % "avro" % "1.4.0",
"com.linkedin.avro-schemas" % "avro-schemas-tracking" % "6.0.518",
// Spark dependencies, exclude avro transitive dependencies to avoid being overriden by 1.7.x
"org.apache.spark" % "spark-core_2.10" % "1.2.0" excludeAll(
ExclusionRule(organization = "org.apache.avro"),
ExclusionRule(organization = "org.apache.hadoop")
),
// Hadoop defaultly are using guava 11.0, might raise NoSuchMethodException
"com.google.guava" % "guava" % "18.0"
)
ivyConfigurations += config("compileonly").hide
unmanagedClasspath in Compile ++= update.value.select(configurationFilter("compileonly"))
libraryDependencies ++= Seq(
"com.linkedin.hadoop" % "hadoop-common" % "2.3.0.+" % "compileonly",
"com.linkedin.hadoop" % "hadoop-hdfs" % "2.3.0.+" % "compileonly",
"com.linkedin.hadoop" % "hadoop-mapreduce-client-core" % "2.3.0.+" % "compileonly"
)
val LinkedInPatterns = Patterns(
Seq("[organization]/[module]/[revision]/[module]-[revision].ivy"),
Seq("[organisation]/[module]/[revision]/[artifact]-[revision](-[classifier]).[ext]"),
isMavenCompatible = true)
val ArtifactoryBaseUrl = "http://artifactory.corp.linkedin.com:8081/artifactory/"
resolvers += Resolver.url("LI repo repository", url(ArtifactoryBaseUrl + "repo"))(LinkedInPatterns)
playJavaSettings