Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions java/gradle/dse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ repositories {
}
}

def dseVersion = "5.1.8"
def dseVersion = "6.0.0"

// The assembly configuration will cause jar to be included in assembled fat-jar
configurations {
Expand All @@ -32,7 +32,9 @@ configurations {
// Please make sure that following dependencies have versions corresponding to the ones in your cluster.
// Note that spark-cassandra-connector should be provided with '--packages' flag to spark-submit command.
dependencies {
provided "com.datastax.dse:dse-spark-dependencies:$dseVersion"
provided("com.datastax.dse:dse-spark-dependencies:$dseVersion") {
exclude group: 'org.apache.directory.api'
}
// assembly "org.apache.commons:commons-math3:3.6.1"
// assembly "org.apache.commons:commons-csv:1.0"
}
Expand Down
2 changes: 1 addition & 1 deletion java/gradle/oss/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repositories {
mavenCentral()
}

def sparkVersion = "2.0.2"
def sparkVersion = "2.2.0"
def connectorVersion = "2.0.7"

// The assembly configuration will cause jar to be included in assembled fat-jar
Expand Down
8 changes: 7 additions & 1 deletion java/maven/dse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dse.version>5.1.8</dse.version>
<dse.version>6.0.0</dse.version>
</properties>

<dependencies>
Expand All @@ -18,6 +18,12 @@
<artifactId>dse-spark-dependencies</artifactId>
<version>${dse.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.directory.api</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Your dependencies, 'provided' are not included in jar -->
<!--<dependency>-->
Expand Down
2 changes: 1 addition & 1 deletion java/maven/oss/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<spark.version>2.0.2</spark.version>
<spark.version>2.2.0</spark.version>
<connector.version>2.0.7</connector.version>
</properties>

Expand Down
5 changes: 3 additions & 2 deletions java/sbt/dse/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@ scalaVersion := "2.11.8"
resolvers += Resolver.mavenLocal // for testing
resolvers += "DataStax Repo" at "https://repo.datastax.com/public-repos/"

val dseVersion = "5.1.8"
val dseVersion = "6.0.0"

// Please make sure that following DSE version matches your DSE cluster version.
// SBT 0.13.13 or greater required because of a dependency resolution bug
libraryDependencies += "com.datastax.dse" % "dse-spark-dependencies" % dseVersion % "provided"
libraryDependencies += "com.datastax.dse" % "dse-spark-dependencies" % dseVersion % "provided" exclude(
"org.apache.directory.api", "*")

//Your dependencies
//libraryDependencies += "org.apache.commons" % "commons-math3" % "3.6.1"
Expand Down
2 changes: 1 addition & 1 deletion java/sbt/oss/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ autoScalaLibrary := false

scalaVersion := "2.11.8"

val sparkVersion = "2.0.2"
val sparkVersion = "2.2.0"
val connectorVersion = "2.0.7"

// Please make sure that following dependencies have versions corresponding to the ones in your cluster.
Expand Down
6 changes: 4 additions & 2 deletions scala/gradle/dse/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ configurations {
testCompile.exclude group: 'org.slf4j', module: 'log4j-over-slf4j'
}

def dseVersion = "5.1.8"
def dseVersion = "6.0.0"

def scalaVersion = "2.11"
def scalaTestVersion = "3.0.0"
Expand All @@ -39,7 +39,9 @@ def jUnitVersion = "4.12"

// Please make sure that following DSE version matches your DSE cluster version.
dependencies {
provided("com.datastax.dse:dse-spark-dependencies:$dseVersion")
provided("com.datastax.dse:dse-spark-dependencies:$dseVersion") {
exclude group: 'org.apache.directory.api'
}
// assembly "org.apache.commons:commons-math3:3.6.1"
// assembly "org.apache.commons:commons-csv:1.0"

Expand Down
2 changes: 1 addition & 1 deletion scala/gradle/oss/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ repositories {
mavenCentral()
}

def sparkVersion = "2.0.2"
def sparkVersion = "2.2.0"
def connectorVersion = "2.0.7"
def scalaVersion = "2.11"
def scalaTestVersion = "3.0.0"
Expand Down
8 changes: 7 additions & 1 deletion scala/maven/dse/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<dse.version>5.1.8</dse.version>
<dse.version>6.0.0</dse.version>
<scala.version>2.11.8</scala.version>
<scala.main.version>2.11</scala.main.version>
<scalatest.version>3.0.0</scalatest.version>
Expand All @@ -24,6 +24,12 @@
<artifactId>dse-spark-dependencies</artifactId>
<version>${dse.version}</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.apache.directory.api</groupId>
<artifactId>*</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Your dependencies, 'provided' are not included in jar -->
<!--<dependency>-->
Expand Down
2 changes: 1 addition & 1 deletion scala/maven/oss/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<scala.version>2.11.8</scala.version>
<scala.main.version>2.11</scala.main.version>
<spark.version>2.0.2</spark.version>
<spark.version>2.2.0</spark.version>
<scalatest.version>3.0.0</scalatest.version>
<connector.version>2.0.7</connector.version>
<cassandra.version>3.2</cassandra.version>
Expand Down
7 changes: 3 additions & 4 deletions scala/sbt/dse/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@ scalaVersion := "2.11.8"
resolvers += Resolver.mavenLocal // for testing
resolvers += "DataStax Repo" at "https://repo.datastax.com/public-repos/"

val dseVersion = "5.1.8"
val dseVersion = "6.0.0"

// Please make sure that following DSE version matches your DSE cluster version.
// Exclusions are solely for running integrated testing
// Warning Sbt 0.13.13 or greater is required due to a bug with dependency resolution
libraryDependencies += (
"com.datastax.dse" % "dse-spark-dependencies" % dseVersion % "provided"
)
libraryDependencies += "com.datastax.dse" % "dse-spark-dependencies" % dseVersion % "provided" exclude(
"org.apache.directory.api", "*")

// Test Dependencies
// The 'test/resources' Directory in should match the resources directory in the `it` directory
Expand Down
2 changes: 1 addition & 1 deletion scala/sbt/oss/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ version := "0.1"

scalaVersion := "2.11.8"

val sparkVersion = "2.0.2"
val sparkVersion = "2.2.0"
val connectorVersion = "2.0.7"
//The 'test/resources' Directory in should match the resources directory in the `it` directory
//for the version of the Spark Cassandra Connector in use.
Expand Down