-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[PIO-210] Add support for Scala 2.12; Update dependencies #518
base: develop
Are you sure you want to change the base?
Changes from 7 commits
5d5f38f
0496da7
618a36a
9368fe5
54cae9c
b6262a1
ec817b0
4289256
d8c0796
2ea73d4
0748158
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.7") | ||
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.14.9") |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
sbt.version=1.2.3 | ||
sbt.version=1.2.8 |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,7 +33,7 @@ libraryDependencies ++= Seq( | |
exclude("org.mortbay.jetty", "servlet-api-2.5") | ||
exclude("org.mortbay.jetty", "jsp-api-2.1") | ||
exclude("org.mortbay.jetty", "jsp-2.1"), | ||
"org.specs2" %% "specs2" % "2.3.13" % "test") | ||
"org.specs2" %% "specs2-core" % "2.4.17" % "test") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
|
||
parallelExecution in Test := false | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -24,7 +24,7 @@ libraryDependencies ++= Seq( | |
"org.apache.spark" %% "spark-sql" % sparkVersion.value % "provided", | ||
"org.scalikejdbc" %% "scalikejdbc" % "3.1.0", | ||
"org.postgresql" % "postgresql" % "9.4-1204-jdbc41" % "test", | ||
"org.specs2" %% "specs2" % "2.3.13" % "test") | ||
"org.specs2" %% "specs2-core" % "2.4.17" % "test") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. same as above |
||
|
||
parallelExecution in Test := false | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,6 @@ name := "template-scala-parallel-recommendation" | |
organization := "org.apache.predictionio" | ||
|
||
libraryDependencies ++= Seq( | ||
"org.apache.predictionio" %% "apache-predictionio-core" % "0.14.0" % "provided", | ||
"org.apache.predictionio" % "apache-predictionio-core" % "0.15.0-SNAPSHOT" % "provided", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need to use the current (local) SNAPSHOT here, otherwise things like 2.12 support will never be able to pass in Travis before being merged. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @shimamoto Do you have any idea why this fails to resolve? It should have been published locally inside docker on make-distribution, no? We need to be testing the current snapshot here. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @EmergentOrder You need to write the double There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ah of course. I removed that and then missed putting it back. Thanks. |
||
"org.apache.spark" %% "spark-core" % sys.env.getOrElse("PIO_SPARK_VERSION", "2.1.1") % "provided", | ||
"org.apache.spark" %% "spark-mllib" % sys.env.getOrElse("PIO_SPARK_VERSION", "2.1.1") % "provided") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Any reason why we choose not the latest version (4.5.1) but 2.4.17?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tests failed to compile under the latest version.