You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/main/asciidoc/configuration.adoc
+58
Original file line number
Diff line number
Diff line change
@@ -44,6 +44,64 @@ Here is an example on how to use the current SNAPSHOT dependency:
44
44
----
45
45
====
46
46
47
+
.Overriding the Couchbase SDK Version
48
+
49
+
Some users may wish to use a Couchbase Java SDK version different from the one referenced in a Spring Data Couchbase release for the purpose of obtaining bug and vulnerability fixes. Since Couchbase Java SDK minor version releases are backwards compatible, this version of Spring Data Couchbase is compatible and supported with any 3.x version of the Couchbase Java SDK newer than the one specified in the release dependencies. To change the Couchbase Java SDK version used by Spring Data Couchbase, simply override the dependency in the application pom.xml as follows:
50
+
51
+
.If Using the spring-data-couchbase Dependency Directly
52
+
====
53
+
[source,xml]
54
+
----
55
+
<dependency>
56
+
<groupId>org.springframework.data</groupId>
57
+
<artifactId>spring-data-couchbase</artifactId>
58
+
<version>${version}</version>
59
+
<exclusions> <!-- exclude Couchbase Java SDK -->
60
+
<exclusion>
61
+
<groupId>com.couchbase.client</groupId>
62
+
<artifactId>java-client</artifactId>
63
+
</exclusion>
64
+
</exclusions>
65
+
</dependency>
66
+
67
+
<dependency> <!-- add dependency for specific Couchbase Java SDK version -->
68
+
<groupId>com.couchbase.client</groupId>
69
+
<artifactId>java-client</artifactId>
70
+
<version>3.4.7</version>
71
+
</dependency>
72
+
----
73
+
====
74
+
75
+
.If Using the spring-data-starter-couchbase Dependency (from Spring Initialzr)
0 commit comments