forked from edmcouncil/rdf-toolkit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
93 lines (65 loc) · 2.78 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
88
89
90
91
92
93
organization := "org.edmcouncil"
name := "rdf-toolkit"
version := "1.3.0"
scalaVersion := "2.11.7"
scalacOptions ++= Seq("-deprecation", "-unchecked", "-feature")
javacOptions ++= Seq("-Xlint:unchecked")
Seq(bintrayResolverSettings:_*)
//val owlApiVersion = "4.0.1"
val sesameVersion = "2.8.9"
libraryDependencies += "org.scala-lang.modules" % "scala-xml_2.11" % "1.0.4"
libraryDependencies += "org.apache.commons" % "commons-lang3" % "3.4" withSources()
libraryDependencies += "commons-validator" % "commons-validator" % "1.5.0"
//
// OWLAPI Model Interfaces And Utilities
//
//libraryDependencies += "net.sourceforge.owlapi" % "owlapi-api" % owlApiVersion withSources()
//libraryDependencies += ("net.sourceforge.owlapi" % "owlapi-api" % owlApiVersion withSources())
// .exclude("com.fasterxml.jackson.core", "jackson-core")
//libraryDependencies += "net.sourceforge.owlapi" % "owlapi-apibinding" % owlApiVersion withSources()
libraryDependencies += "org.clapper" % "grizzled-slf4j_2.11" % "1.0.2" withSources()
libraryDependencies += "org.slf4j" % "slf4j-api" % "1.7.14" withSources()
libraryDependencies += "org.clapper" % "avsl_2.11" % "1.0.3" withSources()
libraryDependencies += "org.scalatest" %% "scalatest" % "2.2.6" % "test" withSources()
//libraryDependencies += "org.ow2.easywsdl" % "easywsdl-tool-java2wsdl" % "2.3"
//
// Explicit loading of jackson-core to prevent merge issue in sbt-assembly
//
//libraryDependencies += "com.fasterxml.jackson.core" % "jackson-core" % "2.5.1"
//
// Sesame Binding And Config
//
libraryDependencies += "org.openrdf.sesame" % "sesame-runtime" % sesameVersion
//
// Apache Command-line Argument Handling Library used in Tony's Java code
//
libraryDependencies += "commons-cli" % "commons-cli" % "1.3.1"
//
// jline console utilities
//
libraryDependencies += "jline" % "jline" % "2.12.1"
//
// Argot Command-Line Argument Handling used in the Scala code
//
libraryDependencies += "org.clapper" % "argot_2.11" % "1.0.4"
//
// Generate booter.properties, see class org.edmcouncil.main.BooterProperties
//
resourceGenerators in Compile <+= (
resourceManaged in Compile, organization, name, version, scalaVersion
) map {
(dir, o, n, v, s) => BooterPropertiesGenerator(dir, o, n, v, s)
}
fork in run := true
resolvers += JavaNet2Repository
resolvers += "http://weblab.ow2.org/" at "http://weblab.ow2.org/release-repository"
//
// Select the main class. Let it be the Scala main, not the Java main (SesameRdfSerializer, which can still
// be selected on the command line seperately. This prevents the following prompt:
//
// Multiple main classes detected, select one to run:
//
// [1] org.edmcouncil.rdf_toolkit.SesameRdfFormatter
// [2] org.edmcouncil.rdf_toolkit.Main
//
mainClass in Compile := Some("org.edmcouncil.rdf_toolkit.SesameRdfFormatter")