-
Notifications
You must be signed in to change notification settings - Fork 108
/
build.sbt
87 lines (63 loc) · 2.37 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import AssemblyKeys._
import NativePackagerKeys._
assemblySettings
ReleaseSettings.defaults
name := "openie"
organization := "edu.washington.cs.knowitall.openie"
crossScalaVersions := Seq("2.10.2")
scalaVersion <<= crossScalaVersions { (vs: Seq[String]) => vs.head }
resolvers += "Sonatype SNAPSHOTS" at "https://oss.sonatype.org/content/repositories/snapshots/"
libraryDependencies ++= Seq(
// extractor components
"edu.washington.cs.knowitall.srlie" %% "srlie" % "1.0.3",
"edu.washington.cs.knowitall.chunkedextractor" %% "chunkedextractor" % "2.2.1",
// for splitting sentences
"edu.washington.cs.knowitall.nlptools" %% "nlptools-sentence-opennlp" % "2.4.5",
// for remote components
"net.databinder.dispatch" %% "dispatch-core" % "0.11.0",
// resource management
"com.jsuereth" %% "scala-arm" % "1.3",
// logging
"org.slf4j" % "slf4j-api" % "1.7.5",
"ch.qos.logback" % "logback-core" % "1.0.13",
"ch.qos.logback" % "logback-classic" % "1.0.13",
"org.scalatest" % "scalatest_2.10" % "2.0.RC1" % "test")
mainClass in assembly := Some("edu.knowitall.openie.OpenIECli")
scalacOptions ++= Seq("-unchecked", "-deprecation")
// custom options for high memory usage
javaOptions += "-Xmx4G"
javaOptions += "-XX:+UseConcMarkSweepGC"
fork in run := true
fork in Test := true
connectInput in run := true // forward stdin/out to fork
licenses := Seq("Open IE Software License Agreement" -> url("https://raw.github.com/knowitall/openie/master/LICENSE"))
homepage := Some(url("https://github.com/knowitall/openie"))
publishMavenStyle := true
publishTo <<= version { (v: String) =>
val nexus = "https://oss.sonatype.org/"
if (v.trim.endsWith("SNAPSHOT"))
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "service/local/staging/deploy/maven2")
}
pomExtra := (
<scm>
<url>https://github.com/knowitall/openie</url>
<connection>scm:git://github.com/knowitall/openie.git</connection>
<developerConnection>scm:git:[email protected]:knowitall/openie.git</developerConnection>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<name>Michael Schmitz</name>
</developer>
<developer>
<name>Bhadra Mani</name>
</developer>
</developers>)
packagerSettings
packageArchetype.java_application
mappings in Universal ++= Seq(
file("README.md") -> "README.md",
file("LICENSE") -> "LICENSE"
)