-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathbuild.sbt
64 lines (44 loc) · 1.89 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
import AssemblyKeys._
name := "srbench"
organization := "eu.planetdata"
version := "1.0.2"
scalaVersion := "2.10.1"
crossPaths := false
libraryDependencies ++= Seq(
"com.typesafe" % "config" % "1.0.2",
"com.typesafe.slick" %% "slick" % "1.0.0",
"ch.qos.logback" % "logback-classic" % "1.0.9",
"es.upm.fi.oeg.morph.streams" % "adapter-esper" % "1.0.8",
//"es.upm.fi.oeg.morph" % "query-rewriting" % "1.0.8",
"eu.trowl" % "trowl-core" % "1.2",
"postgresql" % "postgresql" % "9.1-901.jdbc4",
"org.scalatest" % "scalatest_2.10" % "1.9.1" % "test",
"org.scalacheck" % "scalacheck_2.10" % "1.10.0" % "test"
)
resolvers ++= Seq(
DefaultMavenRepository,
"Local ivy Repository" at "file://"+Path.userHome.absolutePath+"/.ivy2/local",
"aldebaran-releases" at "http://aldebaran.dia.fi.upm.es/artifactory/sstreams-releases-local",
"aldebaran-libs" at "http://aldebaran.dia.fi.upm.es/artifactory/sstreams-external-libs-local",
"nightlabs" at "http://dev.nightlabs.org/maven-repository/repo",
"jmora" at "https://dl.dropboxusercontent.com/u/452942/maven"
)
publishTo := Some("Artifactory Realm" at "http://aldebaran.dia.fi.upm.es/artifactory/sstreams-releases-local")
credentials += Credentials(Path.userHome / ".ivy2" / ".credentials")
publishMavenStyle := true
publishArtifact in (Compile, packageSrc) := false
scalacOptions += "-deprecation"
EclipseKeys.skipParents in ThisBuild := false
EclipseKeys.createSrc := EclipseCreateSrc.Default + EclipseCreateSrc.Resource
unmanagedSourceDirectories in Compile <<= (scalaSource in Compile)(Seq(_))
unmanagedSourceDirectories in Test <<= (scalaSource in Test)(Seq(_))
retrieveManaged := true
assemblySettings
test in assembly := {}
mergeStrategy in assembly <<= (mergeStrategy in assembly) { (old) =>
{
case "logback.xml" => MergeStrategy.first
case "unwanted.txt" => MergeStrategy.discard
case x => old(x)
}
}