From f818e06c38a34551533d0c6b4d22e3540130fe2c Mon Sep 17 00:00:00 2001
From: PRAVEEN KUMAR VENKATESHAPPA
<72923003+praveenkumarct@users.noreply.github.com>
Date: Tue, 24 Aug 2021 12:15:23 +0200
Subject: [PATCH] Dependency management changes for JVM-SDK libraries. (#761)
* Change gradle implementation to api for JVM-SDK dependencies.
* Update documentation and prepare release 7.0.0.
---
README.md | 20 ++++++-------
build.gradle | 6 ++--
docs/README.md | 16 +++++-----
docs/RELEASE_NOTES.md | 48 ++++++++++++++++++++++++------
docs/usage/CART_DISCOUNT_SYNC.md | 4 +--
docs/usage/CATEGORY_SYNC.md | 4 +--
docs/usage/CUSTOMER_SYNC.md | 4 +--
docs/usage/CUSTOM_OBJECT_SYNC.md | 2 +-
docs/usage/IMPORTANT_USAGE_TIPS.md | 2 +-
docs/usage/INVENTORY_SYNC.md | 4 +--
docs/usage/PRODUCT_SYNC.md | 4 +--
docs/usage/PRODUCT_TYPE_SYNC.md | 4 +--
docs/usage/QUICK_START.md | 28 ++---------------
docs/usage/SHOPPING_LIST_SYNC.md | 4 +--
docs/usage/STATE_SYNC.md | 4 +--
docs/usage/TAX_CATEGORY_SYNC.md | 2 +-
docs/usage/TYPE_SYNC.md | 2 +-
mkdocs.yml | 2 +-
18 files changed, 82 insertions(+), 78 deletions(-)
diff --git a/README.md b/README.md
index 39fcec276d..9b58c0d027 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,9 @@
# commercetools sync
[](https://github.com/commercetools/commercetools-sync-java/actions?query=workflow%3ACI)
[](https://codecov.io/gh/commercetools/commercetools-sync-java)
-[](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
-[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/6.0.0/jar)
-[](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/)
+[](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
+[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/7.0.0/jar)
+[](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/)
[](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
More at https://commercetools.github.io/commercetools-sync-java
@@ -25,7 +25,7 @@ Supported resources: [Categories](/docs/usage/CATEGORY_SYNC.md), [Products](/doc
- [SBT](#sbt)
- [Ivy](#ivy)
- [Release Notes](/docs/RELEASE_NOTES.md)
-- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/)
+- [Javadoc](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/)
- [Benchmarks](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
@@ -46,9 +46,7 @@ Notes:
### Prerequisites
- Library requires the min JDK version `>= 8`.
- > The library tested with each major JDK version (i.e: 8, 9, 10, 11, 12, 13...) as well as some specific updates of LTS versions (i.e: 8.0.192, 11.0.3).
- - [commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) as a dependency in your JVM-based
- application. (Make sure to use a version `>= 1.64.0`).
+ > The library tested with each major JDK version (i.e: 8, 9, 10, 11, 12, 13...) as well as some specific updates of LTS versions (i.e: 8.0.192, 11.0.3).
- A target commercetools project for syncing your source data to.
### Installation
@@ -62,24 +60,24 @@ Here are the most popular ones:
com.commercetools
commercetools-sync-java
- 6.0.0
+ 7.0.0
````
#### Gradle
````groovy
-implementation 'com.commercetools:commercetools-sync-java:6.0.0'
+implementation 'com.commercetools:commercetools-sync-java:7.0.0'
````
#### SBT
````
-libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "6.0.0"
+libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "7.0.0"
````
#### Ivy
````xml
-
+
````
diff --git a/build.gradle b/build.gradle
index c731b4e954..48a9cdda1f 100644
--- a/build.gradle
+++ b/build.gradle
@@ -42,9 +42,9 @@ apply from: "$rootDir/gradle-scripts/mkdocs.gradle"
apply from: "$rootDir/gradle-scripts/spotless.gradle"
dependencies {
- implementation "com.commercetools.sdk.jvm.core:commercetools-models:${commercetoolsJvmSdkVersion}"
- implementation "com.commercetools.sdk.jvm.core:commercetools-java-client-ahc-2_5:${commercetoolsJvmSdkVersion}"
- implementation "com.commercetools.sdk.jvm.core:commercetools-convenience:${commercetoolsJvmSdkVersion}"
+ api "com.commercetools.sdk.jvm.core:commercetools-models:${commercetoolsJvmSdkVersion}"
+ api "com.commercetools.sdk.jvm.core:commercetools-java-client-ahc-2_5:${commercetoolsJvmSdkVersion}"
+ api "com.commercetools.sdk.jvm.core:commercetools-convenience:${commercetoolsJvmSdkVersion}"
implementation "com.github.ben-manes.caffeine:caffeine:${caffeineVersion}"
constraints {
implementation("com.fasterxml.jackson.dataformat:jackson-dataformat-cbor:2.12.3") {
diff --git a/docs/README.md b/docs/README.md
index b03a87e04e..7cd46fb486 100644
--- a/docs/README.md
+++ b/docs/README.md
@@ -2,9 +2,9 @@
# commercetools sync
[](https://github.com/commercetools/commercetools-sync-java/actions?query=workflow%3ACI)
[](https://codecov.io/gh/commercetools/commercetools-sync-java)
-[](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
-[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/6.0.0/jar)
-[](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/)
+[](https://commercetools.github.io/commercetools-sync-java/benchmarks/)
+[](https://search.maven.org/artifact/com.commercetools/commercetools-sync-java/7.0.0/jar)
+[](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/)
[](https://snyk.io/test/github/commercetools/commercetools-sync-java/4b2e26113d591bda158217c5dc1cf80a88665646)
@@ -30,8 +30,6 @@ Notes:
- Library requires the min JDK version `>= 8`.
> The library tested with each major JDK version (i.e: 8, 9, 10, 11, 12, 13...) as well as some specific updates of LTS versions (i.e: 8.0.192, 11.0.3).
-- [commercetools-jvm-sdk](https://github.com/commercetools/commercetools-jvm-sdk) as a dependency in your JVM-based
- application. (Make sure to use a version `>= 1.64.0`).
- A target commercetools project for syncing your source data to.
### Installation
@@ -42,18 +40,18 @@ Here are the most popular ones:
com.commercetools
commercetools-sync-java
- 6.0.0
+ 7.0.0
````
#### Gradle
````groovy
-implementation 'com.commercetools:commercetools-sync-java:6.0.0'
+implementation 'com.commercetools:commercetools-sync-java:7.0.0'
````
#### SBT
````
-libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "6.0.0"
+libraryDependencies += "com.commercetools" % "commercetools-sync-java" % "7.0.0"
````
#### Ivy
````xml
-
+
````
diff --git a/docs/RELEASE_NOTES.md b/docs/RELEASE_NOTES.md
index 28c600a52e..bcfcf269c7 100644
--- a/docs/RELEASE_NOTES.md
+++ b/docs/RELEASE_NOTES.md
@@ -27,17 +27,47 @@
7. Add Migration guide section which specifies explicitly if there are breaking changes and how to tackle them.
-->
-
+- 🚧 **Breaking Changes** (1)
+ - **Dependency management:** Avoid `commercetools JVM SDK` libraries version mismatch between projects.
+ It is better not to add `commercetools JVM SDK` dependencies explicitly into your project and use them from `commercetools-Sync-Java` dependencies instead. Please remove them if you have already added the below dependencies in your project.
+
+ For Gradle users, remove:
+
+ ````groovy
+ implementation 'com.commercetools.sdk.jvm.core:commercetools-models:'
+ implementation 'com.commercetools.sdk.jvm.core:commercetools-java-client-ahc-2_5:'
+ implementation 'com.commercetools.sdk.jvm.core:commercetools-convenience:'
+ ````
+
+ For Maven users, remove:
+
+ ````xml
+
+ com.commercetools.sdk.jvm.core
+ commercetools-models
+ version
+
+
+ com.commercetools.sdk.jvm.core
+ commercetools-java-client-ahc-2_5
+ version
+
+
+ com.commercetools.sdk.jvm.core
+ commercetools-convenience
+ version
+
+ ````
+
+ ✨ **Documentation** (1)
+ - Usage documentation on main readme improved, obsolete links is removed. [#758](https://github.com/commercetools/commercetools-sync-java/pull/758)
+
### 6.0.0 - Jul 19, 2021
[Commits](https://github.com/commercetools/commercetools-sync-java/compare/5.1.3...6.0.0) |
[Javadoc](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/) |
diff --git a/docs/usage/CART_DISCOUNT_SYNC.md b/docs/usage/CART_DISCOUNT_SYNC.md
index 48da7fb698..fa53827cce 100644
--- a/docs/usage/CART_DISCOUNT_SYNC.md
+++ b/docs/usage/CART_DISCOUNT_SYNC.md
@@ -36,7 +36,7 @@ against a [CartDiscountDraft](https://docs.commercetools.com/http-api-projects-c
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -67,7 +67,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toCartDiscountDrafts`](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/cartdiscounts/utils/CartDiscountTransformUtils.html#toCartDiscountDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toCartDiscountDrafts`](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/cartdiscounts/utils/CartDiscountTransformUtils.html#toCartDiscountDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `CartDiscount` to `CartDiscountDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/CATEGORY_SYNC.md b/docs/usage/CATEGORY_SYNC.md
index 54718122b9..a89bcf1995 100644
--- a/docs/usage/CATEGORY_SYNC.md
+++ b/docs/usage/CATEGORY_SYNC.md
@@ -36,7 +36,7 @@ against a [CategoryDraft](https://docs.commercetools.com/http-api-projects-categ
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -135,7 +135,7 @@ As soon, as the referenced parent Category draft is supplied to the sync, the dr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toCategoryDrafts`](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/categories/utils/CategoryTransformUtils.html#toCategoryDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toCategoryDrafts`](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/categories/utils/CategoryTransformUtils.html#toCategoryDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `Category` to `CategoryDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/CUSTOMER_SYNC.md b/docs/usage/CUSTOMER_SYNC.md
index 6146c6eb32..c78b3003ea 100644
--- a/docs/usage/CUSTOMER_SYNC.md
+++ b/docs/usage/CUSTOMER_SYNC.md
@@ -35,7 +35,7 @@ against a [CustomerDraft](https://docs.commercetools.com/api/projects/customers#
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -69,7 +69,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toCustomerDrafts`](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/customers/utils/CustomerTransformUtils.html#toCustomerDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toCustomerDrafts`](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/customers/utils/CustomerTransformUtils.html#toCustomerDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `Customer` to `CustomerDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/CUSTOM_OBJECT_SYNC.md b/docs/usage/CUSTOM_OBJECT_SYNC.md
index 117a05c021..af576080d1 100644
--- a/docs/usage/CUSTOM_OBJECT_SYNC.md
+++ b/docs/usage/CUSTOM_OBJECT_SYNC.md
@@ -31,7 +31,7 @@ against a [CustomObjectDraft](https://docs.commercetools.com/http-api-projects-c
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
diff --git a/docs/usage/IMPORTANT_USAGE_TIPS.md b/docs/usage/IMPORTANT_USAGE_TIPS.md
index 0be3a8cbc8..76ad394f7b 100644
--- a/docs/usage/IMPORTANT_USAGE_TIPS.md
+++ b/docs/usage/IMPORTANT_USAGE_TIPS.md
@@ -31,7 +31,7 @@ productSync.sync(batch1)
By design, scaling the sync process should **not** be done by executing the batches themselves in parallel. However, it can be done either by:
- Changing the number of [max parallel requests](https://github.com/commercetools/commercetools-sync-java/tree/master/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L116) within the `sphereClient` configuration. It defines how many requests the client can execute in parallel.
- - or changing the draft [batch size](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/commons/BaseSyncOptionsBuilder.html#batchSize-int-). It defines how many drafts can one batch contains.
+ - or changing the draft [batch size](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/commons/BaseSyncOptionsBuilder.html#batchSize-int-). It defines how many drafts can one batch contains.
The current overridable default [configuration](https://github.com/commercetools/commercetools-sync-java/tree/master/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) of the `sphereClient`
is the recommended good balance for stability and performance for the sync process.
diff --git a/docs/usage/INVENTORY_SYNC.md b/docs/usage/INVENTORY_SYNC.md
index 07db317226..474ebe786d 100644
--- a/docs/usage/INVENTORY_SYNC.md
+++ b/docs/usage/INVENTORY_SYNC.md
@@ -36,7 +36,7 @@ against a [InventoryEntryDraft](https://docs.commercetools.com/http-api-projects
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -68,7 +68,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toInventoryEntryDrafts`](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/inventories/utils/InventoryTransformUtils.html#toInventoryEntryDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toInventoryEntryDrafts`](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/inventories/utils/InventoryTransformUtils.html#toInventoryEntryDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `InventoryEntry` to `InventoryEntryDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/PRODUCT_SYNC.md b/docs/usage/PRODUCT_SYNC.md
index 288be6117e..2faee80f38 100644
--- a/docs/usage/PRODUCT_SYNC.md
+++ b/docs/usage/PRODUCT_SYNC.md
@@ -39,7 +39,7 @@ against a [ProductDraft](https://docs.commercetools.com/http-api-projects-produc
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -80,7 +80,7 @@ resource on the target commercetools project and the library will issue an updat
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toProductDrafts`](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/products/utils/ProductTransformUtils.html#toProductDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toProductDrafts`](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/products/utils/ProductTransformUtils.html#toProductDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `Product` to `ProductDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/PRODUCT_TYPE_SYNC.md b/docs/usage/PRODUCT_TYPE_SYNC.md
index a3d2b0fe68..4cfa0383f9 100644
--- a/docs/usage/PRODUCT_TYPE_SYNC.md
+++ b/docs/usage/PRODUCT_TYPE_SYNC.md
@@ -36,7 +36,7 @@ against a [ProductTypeDraft](https://docs.commercetools.com/http-api-projects-pr
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -66,7 +66,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toProductTypeDrafts`](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/producttypes/utils/ProductTypeTransformUtils.html#toProductTypeDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toProductTypeDrafts`](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/producttypes/utils/ProductTypeTransformUtils.html#toProductTypeDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `ProductType` to `ProductTypeDraft`. It can be configured to use a cache that will speed up the reference resolution performed during the sync, for example:
````java
diff --git a/docs/usage/QUICK_START.md b/docs/usage/QUICK_START.md
index 0d10da0387..9be6a4cdc8 100644
--- a/docs/usage/QUICK_START.md
+++ b/docs/usage/QUICK_START.md
@@ -13,42 +13,20 @@
### 1. Installation
- Make sure you have `JDK 8` installed.
-- Add the following dependencies in your application:
+- Add the following dependency in your application:
- For Maven users:
````xml
-
-
- com.commercetools.sdk.jvm.core
- commercetools-models
- 1.60.0
-
-
- com.commercetools.sdk.jvm.core
- commercetools-java-client-ahc-2_5
- 1.60.0
-
-
- com.commercetools.sdk.jvm.core
- commercetools-convenience
- 1.60.0
-
-
com.commercetools
commercetools-sync-java
- 6.0.0
+ 7.0.0
````
- For Gradle users:
````groovy
-// Add commercetools-jvm-sdk dependencies.
-implementation 'com.commercetools.sdk.jvm.core:commercetools-models:1.60.0'
-implementation 'com.commercetools.sdk.jvm.core:commercetools-java-client-ahc-2_5:1.60.0'
-implementation 'com.commercetools.sdk.jvm.core:commercetools-convenience:1.60.0'
-
// Add commercetools-sync-java dependency.
-implementation 'com.commercetools:commercetools-sync-java:6.0.0'
+implementation 'com.commercetools:commercetools-sync-java:7.0.0'
````
### 2. Setup Syncing Options
diff --git a/docs/usage/SHOPPING_LIST_SYNC.md b/docs/usage/SHOPPING_LIST_SYNC.md
index 9acdd80a22..ce65418634 100644
--- a/docs/usage/SHOPPING_LIST_SYNC.md
+++ b/docs/usage/SHOPPING_LIST_SYNC.md
@@ -37,7 +37,7 @@ against a [ShoppingListDraft](https://docs.commercetools.com/api/projects/shoppi
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -73,7 +73,7 @@ Therefore, in order to resolve the actual ids of those references in the sync pr
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toShoppingListDrafts`](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/shoppinglists/utils/ShoppingListTransformUtils.html#toShoppingListDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toShoppingListDrafts`](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/shoppinglists/utils/ShoppingListTransformUtils.html#toShoppingListDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `ShoppingList` to `ShoppingListDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/STATE_SYNC.md b/docs/usage/STATE_SYNC.md
index b2f1d9db00..8f1b8d9c96 100644
--- a/docs/usage/STATE_SYNC.md
+++ b/docs/usage/STATE_SYNC.md
@@ -35,7 +35,7 @@ against a [StateDraft](https://docs.commercetools.com/http-api-projects-states#s
#### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
@@ -66,7 +66,7 @@ reference should return its `key`.
##### Syncing from a commercetools project
-When syncing from a source commercetools project, you can use [`toStateDrafts`](https://commercetools.github.io/commercetools-sync-java/v/6.0.0/com/commercetools/sync/states/utils/StateTransformUtils.html#toStateDrafts-java.util.List-)
+When syncing from a source commercetools project, you can use [`toStateDrafts`](https://commercetools.github.io/commercetools-sync-java/v/7.0.0/com/commercetools/sync/states/utils/StateTransformUtils.html#toStateDrafts-java.util.List-)
method that transforms(resolves by querying and caching key-id pairs) and maps from a `State` to `StateDraft` using cache in order to make them ready for reference resolution by the sync, for example:
````java
diff --git a/docs/usage/TAX_CATEGORY_SYNC.md b/docs/usage/TAX_CATEGORY_SYNC.md
index 0059c51c26..fa65f505f5 100644
--- a/docs/usage/TAX_CATEGORY_SYNC.md
+++ b/docs/usage/TAX_CATEGORY_SYNC.md
@@ -31,7 +31,7 @@ against a [TaxCategoryDraft](https://docs.commercetools.com/http-api-projects-ta
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
diff --git a/docs/usage/TYPE_SYNC.md b/docs/usage/TYPE_SYNC.md
index d6c4111684..6b8b62f0c5 100644
--- a/docs/usage/TYPE_SYNC.md
+++ b/docs/usage/TYPE_SYNC.md
@@ -33,7 +33,7 @@ against a [TypeDraft](https://docs.commercetools.com/http-api-projects-types.htm
### Prerequisites
#### SphereClient
-Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/6.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
+Use the [ClientConfigurationUtils](https://github.com/commercetools/commercetools-sync-java/blob/7.0.0/src/main/java/com/commercetools/sync/commons/utils/ClientConfigurationUtils.java#L45) which apply the best practices for `SphereClient` creation.
If you have custom requirements for the sphere client creation, have a look into the [Important Usage Tips](IMPORTANT_USAGE_TIPS.md).
````java
diff --git a/mkdocs.yml b/mkdocs.yml
index ef38753ede..049c00b4a9 100644
--- a/mkdocs.yml
+++ b/mkdocs.yml
@@ -62,7 +62,7 @@ nav:
- Sync Options: usage/SYNC_OPTIONS.md
- Usage Tips: usage/IMPORTANT_USAGE_TIPS.md
- Cleanup Unresolved References: usage/CLEANUP_GUIDE.md
- - Javadoc: https://commercetools.github.io/commercetools-sync-java/v/6.0.0/
+ - Javadoc: https://commercetools.github.io/commercetools-sync-java/v/7.0.0/
- Release notes: RELEASE_NOTES.md
- Issues: https://github.com/commercetools/commercetools-sync-java/issues
- Benchmarks: https://commercetools.github.io/commercetools-sync-java/benchmarks/