forked from fbaumgardt-legacy/hocrinfoaggregator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
40 lines (29 loc) · 1010 Bytes
/
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
import AssemblyKeys._
import sbtassembly.Plugin._
name := "hOCRInfoAggregator"
version := "1.0"
javacOptions ++= Seq("-encoding","UTF-8")
scalaVersion := "2.10.0"
mainClass := Some("eu.himeros.hocr.RunAll")
libraryDependencies ++= Seq(
"junit" % "junit" % "3.8.1" % "test",
"org.apache.lucene" % "lucene-spellchecker" % "3.6.1",
"org.apache.xmlgraphics" % "fop" % "1.0",
"com.ibm.icu" % "icu4j" % "49.1",
"org.jdom" % "jdom" % "2.0.2",
"jaxen" % "jaxen" % "1.1.3"
).map(_.excludeAll(
ExclusionRule( organization = "maven-plugins" ),
ExclusionRule( organization = "xerces" ),
ExclusionRule( organization = "xalan" )
))
resolvers += "Local Maven Repository" at "file://"+Path.userHome.absolutePath+"/.m2/repository"
assemblySettings
mainClass in assembly := Some("eu.himeros.hocr.RunAll")
test in assembly := {}
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case PathList("org","w3c","dom", xs @ _*) => MergeStrategy.first
case x => old(x)
}
}