-
Notifications
You must be signed in to change notification settings - Fork 53
/
Copy pathbuild.sbt
58 lines (45 loc) · 2.01 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
ReleaseSettings.defaults
organization := "edu.washington.cs.knowitall.chunkedextractor"
name := "chunkedextractor"
description := "Wrapper and implementation for extractors of chunked sentences."
crossScalaVersions := Seq("2.10.3")
scalaVersion <<= crossScalaVersions { (vs: Seq[String]) => vs.head }
libraryDependencies ++= Seq(
"edu.washington.cs.knowitall" %% "openregex-scala" % "1.1.2",
"edu.washington.cs.knowitall" % "reverb-core" % "1.4.3",
"edu.washington.cs.knowitall.nlptools" %% "nlptools-conf-breeze" % "2.4.5",
"edu.washington.cs.knowitall.nlptools" %% "nlptools-core" % "2.4.5",
"edu.washington.cs.knowitall.nlptools" %% "nlptools-chunk-opennlp" % "2.4.5",
"edu.washington.cs.knowitall.nlptools" %% "nlptools-stem-morpha" % "2.4.5",
// resource management
"com.jsuereth" %% "scala-arm" % "1.3",
"junit" % "junit" % "4.11" % "test",
"org.specs2" % "specs2" % "1.12.3" % "test" cross CrossVersion.binaryMapped {
case "2.9.3" => "2.9.2"
case "2.10.2" => "2.10"
case x => x
})
scalacOptions ++= Seq("-unchecked", "-deprecation")
licenses := Seq("Academic License" -> url("http://reverb.cs.washington.edu/LICENSE.txt"))
homepage := Some(url("http://github.com/knowitall/chunkedextractor"))
resolvers += "Sonatype OSS Snapshots" at "https://oss.sonatype.org/content/repositories/snapshots"
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/chunkedextractor</url>
<connection>scm:git://github.com/knowitall/chunkedextractor.git</connection>
<developerConnection>scm:git:[email protected]:knowitall/chunkedextractor.git</developerConnection>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<name>Michael Schmitz</name>
</developer>
</developers>)