Skip to content

Commit

Permalink
#294 Update Spark dependencies to mitigate security warnings.
Browse files Browse the repository at this point in the history
Updated minor version of Cobrix artifacts since project dependencies have changed.
  • Loading branch information
yruslan committed May 29, 2020
1 parent e785ad9 commit db6d460
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 13 deletions.
2 changes: 1 addition & 1 deletion cobol-converters/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>za.co.absa.cobrix</groupId>
<artifactId>cobrix_2.11</artifactId>
<version>2.0.9-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
2 changes: 1 addition & 1 deletion cobol-parser/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>za.co.absa.cobrix</groupId>
<artifactId>cobrix_2.11</artifactId>
<version>2.0.9-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<groupId>za.co.absa.cobrix</groupId>
<artifactId>cobrix_2.11</artifactId>

<version>2.0.9-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>

<packaging>pom</packaging>

Expand Down Expand Up @@ -109,7 +109,7 @@
<!-- Frameworks and libraries -->
<scala.version>2.11.12</scala.version>
<scala.compat.version>2.11</scala.compat.version>
<spark.version>2.2.2</spark.version>
<spark.version>2.4.5</spark.version>
<scalatest.version>3.0.1</scalatest.version>
<specs.version>2.4.16</specs.version>
<guava.version>15.0</guava.version>
Expand Down
3 changes: 1 addition & 2 deletions project/Dependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import sbt._

object Dependencies {

private val sparkVersion = "2.4.4"
private val sparkVersion = "2.4.5"

private val guavaVersion = "15.0"
private val scodecBitsVersion = "1.1.4"
Expand All @@ -33,7 +33,6 @@ object Dependencies {

val SparkCobolDependencies: Seq[ModuleID] = Seq(
// provided
"org.apache.spark" %% "spark-core" % sparkVersion % Provided,
"org.apache.spark" %% "spark-sql" % sparkVersion % Provided,
"org.apache.spark" %% "spark-streaming" % sparkVersion % Provided,

Expand Down
7 changes: 1 addition & 6 deletions spark-cobol/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<parent>
<groupId>za.co.absa.cobrix</groupId>
<artifactId>cobrix_2.11</artifactId>
<version>2.0.9-SNAPSHOT</version>
<version>2.1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand All @@ -31,11 +31,6 @@

<dependencies>
<!-- spark -->
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-core_${scala.compat.version}</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.spark</groupId>
<artifactId>spark-sql_${scala.compat.version}</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion version.sbt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version in ThisBuild := "2.0.9-SNAPSHOT"
version in ThisBuild := "2.1.0-SNAPSHOT"

0 comments on commit db6d460

Please sign in to comment.