-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild.sbt
84 lines (69 loc) · 3.17 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
name := "moro"
organization := "ml.wolfe"
organizationHomepage := Some(url("http://www.wolfe.ml/"))
version := "1.0-SNAPSHOT"
scalaVersion := "2.11.6"
licenses := Seq("The Apache Software License, Version 2.0" -> url("http://www.apache.org/licenses/LICENSE-2.0.txt"))
homepage := Some(url("http://wolfe-pack.github.io/moro"))
resolvers ++= Seq(
Resolver.file("Local repo", file(Path.userHome.absolutePath + "/.ivy2/local"))(Resolver.ivyStylePatterns),
"IESL Release" at "https://dev-iesl.cs.umass.edu/nexus/content/groups/public",
Resolver.mavenLocal,
Resolver.defaultLocal,
Resolver.sonatypeRepo("snapshots"),
Resolver.sonatypeRepo("releases"),
"Wolfe Release" at "http://homeniscient.cs.ucl.ac.uk:8081/nexus/content/repositories/releases",
"Wolfe Snapshots" at "http://homeniscient.cs.ucl.ac.uk:8081/nexus/content/repositories/snapshots",
"UIUC Releases" at "http://cogcomp.cs.illinois.edu/m2repo"
)
// disable using the Scala version in output paths and artifacts
crossPaths := false
pomExtra := (
<scm>
<url>https://github.com/wolfe-pack/moro</url>
<connection>scm:git:git://github.com/wolfe-pack/moro.git</connection>
<developerConnection>scm:git:git@github.com:wolfe-pack/moro.git</developerConnection>
<tag>HEAD</tag>
</scm>
<developers>
<developer>
<name>Sameer Singh</name>
<email>sameeersingh@gmail.com</email>
<organization>University of Washington</organization>
<organizationUrl>http://www.sameersingh.org</organizationUrl>
</developer>
</developers>
)
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishMavenStyle := true
publishTo := {
val nexus = "https://dev-iesl.cs.umass.edu/nexus/"
if (isSnapshot.value)
Some("snapshots" at nexus + "content/repositories/snapshots")
else
Some("releases" at nexus + "content/repositories/releases")
}
publishArtifact in Test := false
libraryDependencies ++= Seq(
"net.sf.trove4j" % "trove4j" % "3.0.3",
"org.scalautils" % "scalautils_2.11" % "2.1.5",
"org.scalatest" % "scalatest_2.11" % "2.2.1" % "test",
"cc.factorie" % "factorie_2.11" % "1.1",
"com.fasterxml.jackson.module" % "jackson-module-scala_2.11" % "2.5.1",
"com.fasterxml.jackson.core" % "jackson-databind" % "2.5.1",
"eu.henkelmann" % "actuarius_2.10.0" % "0.2.6",
"org.scala-lang" % "scala-compiler" % scalaVersion.value,
"org.sameersingh.htmlgen" % "htmlgen" % "0.3",
"org.sameersingh.scalaplot" % "scalaplot" % "0.1",
"ml.wolfe" %% "wolfe-core" % "0.6.0-SNAPSHOT" exclude("org.slf4j", "slf4j-simple"),
"ml.wolfe" %% "wolfe-util" % "0.6.0-SNAPSHOT" exclude("org.slf4j", "slf4j-simple"),
"ml.wolfe" %% "wolfe-examples" % "0.6.0-SNAPSHOT" exclude("org.slf4j", "slf4j-simple"),
"ml.wolfe" %% "wolfe-nlp" % "0.6.0-SNAPSHOT" exclude("org.slf4j", "slf4j-simple"),
"ml.wolfe" %% "wolfe-ui" % "0.6.0-SNAPSHOT" exclude("org.slf4j", "slf4j-simple"),
"org.scala-lang" % "scala-library" % scalaVersion.value,
"org.pegdown" % "pegdown" % "1.4.2",
"com.typesafe.play.plugins" %% "play-plugins-mailer" % "2.3.1",
"jline" % "jline" % "2.12.1",
"org.scalamacros" % ("paradise_"+scalaVersion.value) % "2.1.0-M5"
)
lazy val root = (project in file(".")).enablePlugins(PlayScala)