Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate to Cassandra driver at org.apache.cassandra.
Closes #1467
- Loading branch information
Showing
5 changed files
with
58 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
src/main/antora/modules/ROOT/pages/migration-guide/migration-guide-4.0-to-4.3.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
[[cassandra.migration.4.x-to-4.3]] | ||
= Migration Guide from 4.x to 4.3 | ||
|
||
Spring Data for Apache Cassandra 4.3 has migrated the `com.datastax.oss` groupId to `org.apache.cassandra`. | ||
|
||
[[driver-group-id]] | ||
== Migration of the Datastax driver into Apache | ||
|
||
With the migration of the Datastax driver into the Apache foundation, you need to update coordinates of the driver in your code. Consider the following example showing a potential previous state of a Maven project configuration: | ||
|
||
.`pom.xml` Example up to 4.2.x | ||
==== | ||
[source,xml] | ||
---- | ||
<dependency> | ||
<groupId>com.datastax.oss</groupId> | ||
<artifactId>java-driver-core</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.datastax.oss</groupId> | ||
<artifactId>java-driver-query-builder</artifactId> | ||
</dependency> | ||
---- | ||
==== | ||
|
||
With upgrading the groupId from `com.datastax.oss` to `org.apache.cassandra` your project configuration would look like: | ||
|
||
.`pom.xml` Example since to 4.3.x | ||
==== | ||
[source,xml] | ||
---- | ||
<dependency> | ||
<groupId>org.apache.cassandra</groupId> | ||
<artifactId>java-driver-core</artifactId> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.apache.cassandra</groupId> | ||
<artifactId>java-driver-query-builder</artifactId> | ||
</dependency> | ||
---- | ||
==== |