Skip to content

Commit

Permalink
Merge pull request #70 from palantir/feature/remove-shaded-cass
Browse files Browse the repository at this point in the history
Remove shaded Cassandra driver
  • Loading branch information
markelliot committed Oct 2, 2015
2 parents 3e3fd1a + 23b4ae6 commit ced5480
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 348 deletions.
23 changes: 4 additions & 19 deletions atlasdb-cassandra-tests/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@ apply from: "../gradle/shared.gradle"
[test, check].each { it.onlyIf { !System.getenv().containsKey('CI') } }

dependencies {
testCompile(project(":atlasdb-cassandra"))
testCompile project(":atlasdb-cassandra")
testCompile project(":atlasdb-tests-shared")
testCompile 'org.apache.cassandra:cassandra-all:2.1.5'
testCompile 'com.palantir.shaded.com.datastax.cassandra:datastax-cassandra-driver-core:0.3.1'

testCompile 'org.apache.cassandra:cassandra-all:2.1.7'
testCompile 'com.datastax.cassandra:cassandra-driver-core:2.1.7'
}

jacoco {
Expand All @@ -36,19 +37,3 @@ jacocoTestReport {
}
}

// Add a classifier to properly pick up the datastax dependency
publishing {
publications {
local(MavenPublication) {
pom.withXml {
def node = asNode();
node.depthFirst().each { n ->
if (n instanceof Node && n.text() == "datastax-cassandra-driver-core") {
n.parent().appendNode('classifier', 'all')
return;
}
}
}
}
}
}
5 changes: 3 additions & 2 deletions atlasdb-cassandra/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,9 @@ dependencies {
compile project(":atlasdb-client")
compile project(":atlasdb-spi")
compile project(':timestamp-impl')
compile(group: 'com.datastax.cassandra', name: 'cassandra-driver-core', version: '2.1.5')
compile('org.apache.cassandra:cassandra-all:2.1.5')

compile 'org.apache.cassandra:cassandra-all:2.1.7'
compile 'com.datastax.cassandra:cassandra-driver-core:2.1.7'

processor 'org.immutables:value:2.0.21'
}
Expand Down
33 changes: 0 additions & 33 deletions commons-cassandra/build.gradle

This file was deleted.

255 changes: 0 additions & 255 deletions datastax-cassandra-driver-core/NOTICE

This file was deleted.

1 change: 0 additions & 1 deletion datastax-cassandra-driver-core/README.md

This file was deleted.

37 changes: 0 additions & 37 deletions datastax-cassandra-driver-core/build.gradle

This file was deleted.

1 change: 0 additions & 1 deletion settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,3 @@ include ":leader-election-impl"
include ":examples:profile-client"
include ":examples:profile-client-protobufs"
include ":bookkeeper-transaction"
include ":datastax-cassandra-driver-core"

0 comments on commit ced5480

Please sign in to comment.