Skip to content
This repository was archived by the owner on Oct 8, 2020. It is now read-only.

Commit 68a2c8f

Browse files
SBT buildscript for Flink module.
1 parent 065aff3 commit 68a2c8f

3 files changed

Lines changed: 71 additions & 5 deletions

File tree

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@
195195
<dependency>
196196
<groupId>org.scalatest</groupId>
197197
<artifactId>scalatest_${scala.binary.version}</artifactId>
198-
<version>2.2.6</version>
198+
<version>3.0.1</version>
199199
<scope>test</scope>
200200
</dependency>
201201

sansa-inference-flink/build.sbt

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,69 @@
1+
organization := "net.sansa-stack"
2+
3+
name := "sansa-inference-flink"
4+
5+
val projectVersion = "0.1.0-SNAPSHOT"
6+
val flinkVersion = "1.1.3"
7+
val jenaVersion = "3.1.1"
8+
9+
scalaVersion := "2.11.8"
10+
11+
scalacOptions ++= Seq(
12+
"-deprecation",
13+
"-encoding", "UTF-8",
14+
"-feature",
15+
"-target:jvm-1.8",
16+
"-unchecked",
17+
"-Ywarn-adapted-args",
18+
"-Ywarn-dead-code",
19+
"-Ywarn-numeric-widen",
20+
"-Ywarn-unused",
21+
"-Ywarn-value-discard",
22+
"-Xfuture",
23+
"-Xlint"
24+
)
25+
26+
javacOptions ++= Seq(
27+
"-Xlint:deprecation",
28+
"-Xlint:unchecked",
29+
"-source", "1.8",
30+
"-target", "1.8",
31+
"-g:vars"
32+
)
33+
34+
resolvers ++= Seq(
35+
"apache-snapshots" at "http://repository.apache.org/snapshots/",
36+
"AKSW Snapshots" at "http://maven.aksw.org/archiva/repository/snapshots",
37+
Resolver.mavenLocal
38+
)
39+
40+
libraryDependencies ++= Seq(
41+
"net.sansa-stack" % "sansa-inference-common" % projectVersion,
42+
"net.sansa-stack" % "sansa-inference-tests" % projectVersion % "test",
43+
"org.apache.flink" %% "flink-scala" % flinkVersion,
44+
"org.apache.flink" %% "flink-streaming-scala" % flinkVersion,
45+
"org.apache.flink" %% "flink-clients" % flinkVersion,
46+
"org.apache.flink" %% "flink-test-utils" % flinkVersion % "test",
47+
"org.apache.jena" % "jena-core" % jenaVersion,
48+
"org.apache.jena" % "jena-arq" % jenaVersion,
49+
"com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
50+
"com.google.guava" % "guava" % "19.0",
51+
"com.github.scopt" %% "scopt" % "3.2.0",
52+
"org.scalatest" %% "scalatest" % "3.0.1" % "test" withSources(),
53+
"junit" % "junit" % "4.12" % "test"
54+
)
55+
56+
logLevel := Level.Warn
57+
58+
// Only show warnings and errors on the screen for compilations.
59+
// This applies to both test:compile and compile and is Info by default
60+
logLevel in compile := Level.Warn
61+
62+
// Level.INFO is needed to see detailed output when running tests
63+
logLevel in test := Level.Info
64+
65+
// define the statements initially evaluated when entering 'console', 'console-quick', but not 'console-project'
66+
initialCommands in console := """
67+
|""".stripMargin
68+
69+
cancelable := true

sansa-inference-spark/build.sbt

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -56,13 +56,10 @@ libraryDependencies ++= Seq(
5656
"org.jgrapht" % "jgrapht-core" % "1.0.0",
5757
"org.jgrapht" % "jgrapht-ext" % "1.0.0",
5858
"org.gephi" % "gephi-toolkit" % "0.9.1",
59-
"junit" % "junit" % "4.12",
60-
"org.scalatest" %% "scalatest" % "3.0.1",
6159
"com.holdenkarau" %% "spark-testing-base" % "2.0.0_0.4.4" % "test",
6260
"com.typesafe.scala-logging" %% "scala-logging" % "3.5.0",
6361
"com.github.scopt" %% "scopt" % "3.5.0",
64-
//"com.github.nscala-time" %% "nscala-time" % "1.8.0" withSources(),
65-
"org.scalatest" %% "scalatest" % "3.0.0" % "test" withSources(),
62+
"org.scalatest" %% "scalatest" % "3.0.1" % "test" withSources(),
6663
"junit" % "junit" % "4.12" % "test"
6764
)
6865

0 commit comments

Comments
 (0)