-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.sbt
69 lines (55 loc) · 2.42 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
import com.typesafe.sbt.SbtStartScript
name := "mln-semantics"
version := "0.0.1"
scalaVersion := "2.10.1"
resolvers ++= Seq(
"Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots",
"opennlp sourceforge repo" at "http://opennlp.sourceforge.net/maven2",
"repo.codahale.com" at "http://repo.codahale.com",
"Breeze Maven2" at "http://repo.scalanlp.org/repo",
"Clojars" at "http://www.clojars.org/repo"
)
libraryDependencies ++= Seq(
"edu.stanford.nlp" % "stanford-corenlp" % "1.3.0",
"commons-logging" % "commons-logging" % "1.1.1",
"log4j" % "log4j" % "1.2.16" excludeAll(
ExclusionRule(organization = "javax.mail"),
ExclusionRule(organization = "javax.jms"),
ExclusionRule(organization = "com.sun.jdmk"),
ExclusionRule(organization = "com.sun.jmx")
),
"junit" % "junit" % "4.10" % "test")
//"com.novocode" % "junit-interface" % "0.6" % "test->default") //switch to ScalaTest at some point...
////////////////////////////////////////////////////////
// BEGIN FOR SCRUNCH
////////////////////////////////////////////////////////
resolvers ++= Seq(
"Cloudera Hadoop Releases" at "https://repository.cloudera.com/content/repositories/releases/",
"Thrift location" at "http://people.apache.org/~rawson/repo/"
)
libraryDependencies ++= Seq(
"org.apache.hadoop" % "hadoop-core" % "0.20.2-cdh3u1" excludeAll(
ExclusionRule(organization = "com.sun.jdmk"),
ExclusionRule(organization = "com.sun.jmx"),
ExclusionRule(organization = "javax.jms")
),
"com.google.guava" % "guava" % "r09",
"org.apache.avro" % "avro-mapred" % "1.6.0",
"org.codehaus.jackson" % "jackson-core-asl" % "1.8.3",
"org.codehaus.jackson" % "jackson-mapper-asl" % "1.8.3",
"org.codehaus.jackson" % "jackson-smile" % "1.8.6",
"org.slf4j" % "slf4j-log4j12" % "1.6.1",
"org.apache.hbase" % "hbase" % "0.90.3-cdh3u1" excludeAll(
ExclusionRule(organization = "org.apache.hadoop"),
ExclusionRule(organization = "commons-logging"),
ExclusionRule(organization = "com.google.guava"),
ExclusionRule(organization = "log4j"),
ExclusionRule(organization = "org.slf4j")
)
)
////////////////////////////////////////////////////////
// END FOR SCRUNCH
////////////////////////////////////////////////////////
seq(SbtStartScript.startScriptForClassesSettings: _*)
mainClass in (Compile, run) := Some("utcompling.mlnsemantics.inference.Baseline")
scalacOptions ++= Seq("-optimize", "-deprecation")