-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.sbt
83 lines (75 loc) · 3.55 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
import com.typesafe.sbt.packager.Keys._
import sbt.Keys._
//////////////////////////////////////////////////////////////////////////////
// Common Settings
//////////////////////////////////////////////////////////////////////////////
lazy val commonSettings = Seq(
organization := "com.eccenca",
version := "1.1-SNAPSHOT",
// Building
scalaVersion := "2.11.6",
javacOptions := Seq("-source", "1.7", "-target", "1.7"),
scalacOptions += "-target:jvm-1.7",
// Resolvers
// The Typesafe repository
resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"
// Testing
// libraryDependencies += "org.scalatest" % "scalatest_2.11" % "2.2.4" % "test",
// libraryDependencies += "junit" % "junit" % "4.11" % "test",
// testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-u", "target/test-reports")
)
//////////////////////////////////////////////////////////////////////////////
// Core Modules
//////////////////////////////////////////////////////////////////////////////
lazy val core = project
.settings(commonSettings: _*)
.settings(
libraryDependencies += "org.apache.jena" % "jena-core" % "2.11.2" excludeAll ExclusionRule(organization = "org.slf4j"),
libraryDependencies += "org.apache.jena" % "jena-arq" % "2.11.2" excludeAll ExclusionRule(organization = "org.slf4j"),
libraryDependencies += "com.typesafe.play" % "play-json_2.11" % "2.3.7"
)
.dependsOn(virtuoso_jena)
//////////////////////////////////////////////////////////////////////////////
// Simulator Modules
//////////////////////////////////////////////////////////////////////////////
lazy val simulator = project
.enablePlugins(PlayScala)
.settings(commonSettings: _*)
.settings(
libraryDependencies += "com.typesafe.akka" % "akka-actor_2.11" % "2.3.4",
libraryDependencies += "com.typesafe.play" % "play-json_2.11" % "2.3.7",
libraryDependencies += "com.typesafe.play" % "play-ws_2.11" % "2.3.7",
libraryDependencies += filters,
// Linux Packaging, Uncomment to generate Debian packages that register the Workbench as an Upstart service
packageArchetype.java_server,
version in Debian := "2.6.1",
maintainer := "Robert Isele <[email protected]>",
packageSummary := "The Silk framework is a tool for discovering relationships between data items within different Linked Data sources.",
packageDescription := "The Silk framework is a tool for discovering relationships between data items within different Linked Data sources."
)
.dependsOn(core)
//////////////////////////////////////////////////////////////////////////////
// Dashboard Modules
//////////////////////////////////////////////////////////////////////////////
lazy val dashboard = project
.enablePlugins(PlayScala)
.settings(commonSettings: _*)
.settings(
libraryDependencies += filters
)
.dependsOn(core)
////////////////////////////////////////////////
// root Module
////////////////////////////////////////////////
lazy val root = project.in(file("."))
.aggregate(core, simulator, dashboard, virtuoso_jena)
.settings(commonSettings: _*)
//.settings(com.github.play2war.plugin.Play2WarPlugin.play2WarSettings: _*)
.settings(
name := "GeoKnow Supply Chain Applications"
//com.github.play2war.plugin.Play2WarKeys.servletVersion := "3.0"
)
//////////////////////////////////////////////////////////////////////////////
// Sub-Modules
//////////////////////////////////////////////////////////////////////////////
lazy val virtuoso_jena = project