Skip to content

Commit d2d6fb4

Browse files
committed
Upgrade GT → 3.7.0-SNAPSHOT, Geomesa → 3.2.2, Scala → 2.12
1 parent 691e789 commit d2d6fb4

File tree

5 files changed

+10
-11
lines changed

5 files changed

+10
-11
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010

1111
### Added
1212

13+
- Upgrade to Scala 2.12; GT 3.7.0-SNAPSHOT; Geomesa Spark JTS 3.2.2 (this standardizes on JTS 1.17.0)
14+
1315
### Changed
1416

1517
### Fixed

build.sbt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ lazy val commonSettings = Seq(
1515

1616
cancelable in Global := true,
1717

18-
scalaVersion in ThisBuild := Version.scala2_11,
18+
scalaVersion in ThisBuild := Version.scala2_12,
1919

20-
crossScalaVersions := Seq(Version.scala2_11, Version.scala2_12),
20+
//crossScalaVersions := Seq(Version.scala2_12),
2121

2222
scalacOptions := Seq(
2323
"-deprecation",
@@ -40,13 +40,10 @@ lazy val commonSettings = Seq(
4040
scalacOptions in (Compile, console) ~= { _.filterNot(Set("-Ywarn-unused-import", "-Ywarn-unused:imports")) },
4141

4242
/* For Monocle's Lens auto-generation */
43-
addCompilerPlugin("org.scalamacros" %% "paradise" % "2.1.0" cross CrossVersion.full),
43+
addCompilerPlugin("org.scalamacros" %% "paradise" % "2.1.1" cross CrossVersion.full),
4444

4545
resolvers ++= Seq(
4646
Resolver.sonatypeRepo("releases"),
47-
Resolver.bintrayRepo("lonelyplanet", "maven"),
48-
Resolver.bintrayRepo("kwark", "maven"), // Required for Slick 3.1.1.2, see https://github.com/azavea/raster-foundry/pull/1576
49-
Resolver.bintrayRepo("bkirwi", "maven"), // Required for `decline` dependency
5047
"eclipse-releases" at "https://repo.eclipse.org/content/groups/releases",
5148
"eclipse-snapshots" at "https://repo.eclipse.org/content/groups/snapshots",
5249
"geosolutions" at "http://maven.geo-solutions.it/",

project/Version.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
object Version {
22
val awscala = "0.8.1"
3-
val geotrellis = "3.5.1"
3+
val geotrellis = "3.7.0-SNAPSHOT"
44
val scala2_11 = "2.11.12"
55
val scala2_12 = "2.12.12"
6-
val geomesa = "2.2.1"
6+
val geomesa = "3.2.2"
77
val decline = "0.6.1"
88
val cats = "1.6.1"
99
val scalactic = "3.0.6"
1010
val scalatest = "3.0.3"
11-
val spark = "2.4.4"
11+
val spark = "2.4.7"
1212
val kryo = "4.0.2"
1313
val circe = "0.11.0"
1414
val scalaLogging = "3.9.2"

src/main/scala/vectorpipe/sources/ReplicationStreamBatchReader.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import org.apache.spark.sql.catalyst.encoders.{ExpressionEncoder, RowEncoder}
88
import org.apache.spark.sql.sources.v2.reader.InputPartitionReader
99

1010
import scala.collection.parallel.ForkJoinTaskSupport
11-
import scala.concurrent.forkjoin.ForkJoinPool
11+
import java.util.concurrent.ForkJoinPool
1212
import scala.reflect.runtime.universe.TypeTag
1313

1414
abstract class ReplicationStreamBatchReader[T <: Product: TypeTag](baseURI: URI,

src/test/scala/vectorpipe/MultiPolygonRelationReconstructionSpec.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ class MultiPolygonRelationReconstructionSpec extends PropSpec with TableDrivenPr
122122
val expected = fixture.wkt.map(wktReader.read)
123123

124124
try {
125-
actual should ===(expected)
125+
actual.zip(expected).forall{ case (act, exp) => if (act.isEmpty) exp.isEmpty else exp.buffer(1e-6).contains(act) } should be (true)
126126
} catch {
127127
case e: Throwable =>
128128
println(s"${fixture.id} actual:")

0 commit comments

Comments
 (0)