diff --git a/.gitignore b/.gitignore index 52a0ac23..404e4718 100644 --- a/.gitignore +++ b/.gitignore @@ -4,8 +4,6 @@ .DS_Store .project build/ -lib/ivy-2.2.0.jar -bin/ target/ log/ diff --git a/README.md b/README.md index 8e9d9a29..d83edea8 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,13 @@ -# Official Couchbase Java SDK +# (OBSOLETE) Official Couchbase Java SDK + +**NOTE: This repository contains the 2.x SDK series, which reached End of Life in March 2022. +We recommend that you check out our 3.x series, which can be found here: https://github.com/couchbase/couchbase-jvm-clients** This project is the official driver for Couchbase when working with Java (or on the JVM). It provides management, CRUD and query facilities through both asynchronous and synchronous APIs. ## Features ## -* High-Performance Key/Value and Query (N1QL, Views) operations +* High-Performance Key/Value and Query (N1QL, Views, Search, Analytics) operations * Cluster-Awareness and automatic rebalance and failover handling * Asynchronous (through [RxJava](https://github.com/ReactiveX/RxJava)) and Synchronous APIs * Transparent Encryption Support @@ -19,12 +22,11 @@ The primary way to ask questions is through our official [Forums](http://forums. ## Quick Start ## The easiest way is to download the jar as well as its transitive dependencies (only 2) through maven: - ```xml com.couchbase.client java-client - 2.6.2 + 2.7.23 ``` diff --git a/docs/teaser.html b/docs/teaser.html index e6e5de60..b80934a8 100644 --- a/docs/teaser.html +++ b/docs/teaser.html @@ -1,32 +1,34 @@ -

Welcome to the Couchbase Java SDK API Reference!

+ +

Welcome to the Couchbase Java SDK API Reference!

-

Here is a simple hello world that you can run and verify your installation works:

+

Here is a simple hello world that you can run and verify your installation works:

-
-// Connect to a cluster on localhost
-Cluster cluster = CouchbaseCluster.create();
-cluster.authenticate("username", "password");
+    
+    // Connect to a cluster on localhost
+    Cluster cluster = CouchbaseCluster.create();
+    cluster.authenticate("username", "password");
 
-// Open the default bucket
-Bucket bucket = cluster.openBucket("myTestBucket");
+    // Open the default bucket
+    Bucket bucket = cluster.openBucket("myTestBucket");
 
-// Create a user and insert it
-JsonObject user = JsonObject.empty()
-    .put("firstname", "Walter")
-    .put("lastname", "White")
-    .put("job", "chemistry teacher")
-    .put("age", 50);
-JsonDocument doc = JsonDocument.create("walter", user);
-JsonDocument response = bucket.upsert(doc);
+    // Create a user and insert it
+    JsonObject user = JsonObject.empty()
+        .put("firstname", "Walter")
+        .put("lastname", "White")
+        .put("job", "chemistry teacher")
+        .put("age", 50);
+    JsonDocument doc = JsonDocument.create("walter", user);
+    JsonDocument response = bucket.upsert(doc);
 
-// Read it back out
-JsonDocument walter = bucket.get("walter");
-System.out.println("Found: " + walter);
+    // Read it back out
+    JsonDocument walter = bucket.get("walter");
+    System.out.println("Found: " + walter);
 
-// Disconnect from the cluster
-cluster.disconnect();
-
+ // Disconnect from the cluster + cluster.disconnect(); +
-

- If you don't know where to go next, start at the CouchbaseCluster class! -

\ No newline at end of file +

+ If you don't know where to go next, start at the CouchbaseCluster class! +

+ \ No newline at end of file diff --git a/pom.xml b/pom.xml index 2e654641..60979beb 100644 --- a/pom.xml +++ b/pom.xml @@ -16,19 +16,19 @@ com.couchbase.client java-client - 2.7.0 - jar + 2.7.24-SNAPSHOT + bundle Couchbase Java SDK The official Couchbase Java SDK http://couchbase.com - 1.6 + 1.7 UTF-8 UTF-8 - 1.7.0 + 1.7.24-SNAPSHOT 4.12 1.10.19 1.7.7 @@ -37,8 +37,10 @@ 1.7.1 19.0 ${project.build.directory}/coredocs - 1.5.9 - 1.0.0 + 1.5.19 + false + + @@ -75,11 +77,6 @@ Michael Nitschinger michael.nitschinger@couchbase.com - - subalakr - Subhashni Balakrishnan - subhashni@couchbase.com - dnault David Nault @@ -90,6 +87,11 @@ Sergey Avseyev sergey@couchbase.com + + programmatix + Graham Pople + graham.pople@couchbase.com + @@ -122,12 +124,6 @@ true provided - - com.couchbase.client - encryption - ${encryptionextension.version} - true - @@ -160,6 +156,18 @@ ${guavatest.version} test + + com.couchbase.client + encryption + 1.0.0 + + + com.couchbase.client + java-client + + + test + com.couchbase.mock CouchbaseMock @@ -180,7 +188,7 @@ org.apache.maven.plugins maven-source-plugin - 2.4 + 3.2.0 attach-sources @@ -194,7 +202,7 @@ org.apache.maven.plugins maven-dependency-plugin - 2.10 + 3.1.1