-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
68 lines (58 loc) · 2.19 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
name := "sidecar"
organization := "io.medici"
version := "0.0.1"
scalaVersion := "2.11.6"
val stormVersion = "0.9.3"
scalacOptions in Test ++= Seq("-Yrangepos")
scalacOptions += "-Yresolve-term-conflict:package"
resolvers ++= Seq("snapshots", "releases").map(Resolver.sonatypeRepo)
resolvers ++= Seq(
Classpaths.typesafeReleases,
"Cloudera" at "https://repository.cloudera.com/artifactory/public/",
"Cloudera2" at "http://repository.cloudera.com/cloudera/cloudera-repos/",
"releases" at "http://oss.sonatype.org/content/repositories/releases",
"typesafe-repository" at "http://repo.typesafe.com/typesafe/releases/",
"clojars-repository" at "https://clojars.org/repo",
"Typesafe Repository" at "http://repo.typesafe.com/typesafe/releases/"
)
libraryDependencies ++= Seq(
"org.apache.kafka" % "kafka_2.11" % "0.8.2.1"
exclude("javax.jms", "jms")
exclude("com.sun.jdmk", "jmxtools")
exclude("com.sun.jmx", "jmxri")
exclude("org.slf4j", "slf4j-simple")
exclude("log4j", "log4j")
exclude("org.apache.zookeeper", "zookeeper")
exclude("com.101tec", "zkclient"),
"org.apache.storm" % "storm-core" % stormVersion % "provided"
exclude("org.apache.zookeeper", "zookeeper")
exclude("org.slf4j", "log4j-over-slf4j"),
"org.apache.storm" % "storm-kafka" % stormVersion
exclude("org.apache.zookeeper", "zookeeper"),
"com.101tec" % "zkclient" % "0.4"
exclude("org.apache.zookeeper", "zookeeper"),
"org.apache.curator" % "curator-test" % "2.4.0"
exclude("org.jboss.netty", "netty")
exclude("org.slf4j", "slf4j-log4j12"),
"commons-io" % "commons-io" % "2.4",
"org.apache.commons" % "commons-pool2" % "2.3",
// Logback with slf4j facade
"ch.qos.logback" % "logback-classic" % "1.1.2",
// Test dependencies
"org.scalatest" %% "scalatest" % "2.2.1" % "test",
"org.mockito" % "mockito-all" % "1.9.5" % "test"
)
scalacOptions ++= Seq(
"-feature",
"-Xlint",
"-Xfatal-warnings",
"-deprecation"
)
initialCommands := "import io.medici.sidecar._"
lazy val root = (project in file(".")).
settings(
name := "sidecar",
version := "0.0.1",
scalaVersion := "2.11.6",
mainClass in Compile := Some("io.medici.sidecar.topologies.KafkaTopology")
)